]
George Gastaldi closed FORGE-2160.
----------------------------------
Resolution: Done
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 project, the following exception is thrown if the
same UIContext is reused:
{{java.lang.IllegalStateException: A project is required in the current context}}
It would be nice to use the current selection instead of the initialSelection to lookup a
Project in the {{org.jboss.forge.addon.projects.Projects}} class