[JBoss JIRA] (FORGE-2162) Two previous JIRA changes have been undone FORGE-1984 and FORGE-1990
by Gerry Matte (JIRA)
Gerry Matte created FORGE-2162:
----------------------------------
Summary: Two previous JIRA changes have been undone FORGE-1984 and FORGE-1990
Key: FORGE-2162
URL: https://issues.jboss.org/browse/FORGE-2162
Project: Forge
Issue Type: Bug
Components: Database Tools
Affects Versions: 2.12.0.Final
Environment: Windows 7, JDK7, Jboss AS7 and Wildfly 8.1
Reporter: Gerry Matte
The following two JIRA requests have now returned as bugs.
FORGE-1984 : jpa-generate-entities-from-tables add parameter to select all tables without prompting (fixed in version 2.8.1)
FORGE-1990 : connection-create-profile fails to retain the database connection password (fixed in version 2.9.2.Final)
As noted in https://developer.jboss.org/message/912189#912189 forum posting, the successful commands to create a connectionProfile and generate jpa entities from a mysql databse worked without problems in version 2.10.0.Final
On Dec 2, Bruce Link reported problems implementing commands identical to mine but using forge 2.12.0.Final.
Repeating my own commands that were previously successful, I now encountered the same two errors that were previously fixed by the above two JIRAs.
I tested with both 2.12.0.Final and with 2.12.3.Final. Both versions failed to retain the database user password and also failed select all database tables (although the connection failure may have triggered the second error message)
Please reimplement the changes made with FORGE-1984 and FORGE-1990. I am happy to retest when you are ready.
Gerry Matte
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
11 years, 5 months
[JBoss JIRA] (FORGE-2161) Provide an extension point for Desktop actions
by George Gastaldi (JIRA)
George Gastaldi created FORGE-2161:
--------------------------------------
Summary: Provide an extension point for Desktop actions
Key: FORGE-2161
URL: https://issues.jboss.org/browse/FORGE-2161
Project: Forge
Issue Type: Feature Request
Components: UI - API
Affects Versions: 2.12.3.Final
Reporter: George Gastaldi
Assignee: George Gastaldi
Fix For: 2.x Future
The {{OpenCommand}} and {{EditCommand}} currently use {{java.awt.Desktop}} to open/edit/browse files.
This should be provided by the UI implementations.
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
11 years, 5 months
[JBoss JIRA] (FORGE-2160) Projects must check the current selection instead of the initial selection
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2160?page=com.atlassian.jira.plugin... ]
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
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
11 years, 5 months
[JBoss JIRA] (FORGE-2160) Projects must check the current selection instead of the initial selection
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2160?page=com.atlassian.jira.plugin... ]
George Gastaldi updated FORGE-2160:
-----------------------------------
Description:
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
was:
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.
> 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
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
11 years, 5 months
[JBoss JIRA] (FORGE-2160) Projects must check the current selection instead of the initial selection
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2160?page=com.atlassian.jira.plugin... ]
George Gastaldi updated FORGE-2160:
-----------------------------------
Summary: Projects must check the current selection instead of the initial selection (was: UIContext objects cannot be reused for executing multiple commands)
> 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: UI - API
> 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)
11 years, 5 months
[JBoss JIRA] (FORGE-2160) UIContext objects cannot be reused for executing multiple commands
by George Gastaldi (JIRA)
George Gastaldi created FORGE-2160:
--------------------------------------
Summary: UIContext objects cannot be reused for executing multiple commands
Key: FORGE-2160
URL: https://issues.jboss.org/browse/FORGE-2160
Project: Forge
Issue Type: Enhancement
Components: UI - API
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)
11 years, 5 months