[jbosstools-issues] [JBoss JIRA] Closed: (JBIDE-9240) Add Class wizard in beans.xml editor throws exeption when attempting to add duplicate entries, but should properly validate input.

Jaroslav Jankovič (JIRA) jira-events at lists.jboss.org
Mon Aug 8 09:28:24 EDT 2011


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

Jaroslav Jankovič closed JBIDE-9240.
------------------------------------



verified on JBoss Developer Studio 5.0.0.v201108060131N-H712-M3

> Add Class wizard in beans.xml editor throws exeption when attempting to add duplicate entries, but should properly validate input.
> ----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-9240
>                 URL: https://issues.jboss.org/browse/JBIDE-9240
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: cdi
>    Affects Versions: 3.3.0.M2
>            Reporter: Viacheslav Kabanovich
>            Assignee: Viacheslav Kabanovich
>             Fix For: 3.3.0.M3
>
>
> EXECUTE: Open beans.xml editor and select 'Interceptors' node in 'Tree' tab.
> EXECUTE: Call from context menu 'Add Class' wizard, input 'MyClass' and finish.
> ASSERT: Node 'MyClass' appears.
> EXECUTE: Repeat second step with the same 'MyClass' input.
> ASSERT: Wizard disables finish and displays error message ''Interceptors' already contains class MyClass.'.
> FAILURE: Wizard allows to push 'Finish', writes error message with stack trace into the log and remains open.
> The same steps work for nodes 'Decorators' and 'Alternatives'.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the jbosstools-issues mailing list