[forge-issues] [JBoss JIRA] (FORGE-2160) Projects must check the current selection instead of the initial selection

George Gastaldi (JIRA) issues at jboss.org
Tue Dec 2 08:21:39 EST 2014


     [ https://issues.jboss.org/browse/FORGE-2160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

George Gastaldi updated FORGE-2160:
-----------------------------------
    Component/s: Projects
                     (was: UI - API)


> Projects must check the current selection instead of the initial selection
> --------------------------------------------------------------------------
>
>                 Key: FORGE-2160
>                 URL: https://issues.jboss.org/browse/FORGE-2160
>             Project: Forge
>          Issue Type: Enhancement
>          Components: Projects
>    Affects Versions: 2.12.3.Final
>            Reporter: George Gastaldi
>            Assignee: George Gastaldi
>             Fix For: 2.12.4.Final
>
>
> After using a UIContext to create a 
> {{java.lang.IllegalStateException: A project is required in the current context}}
> This is because Projects uses the getInitialSelection() to determine the current project. It should use getSelection(), which fallbacks to getInitialSelection() if not provided.



--
This message was sent by Atlassian JIRA
(v6.3.8#6338)


More information about the forge-issues mailing list