Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-9240

Add Class wizard in beans.xml editor throws exeption when attempting to add duplicate entries, but should properly validate input.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.3.0.M3
    • 3.3.0.M2
    • cdi
    • None

      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'.

            scabanovich Viacheslav Kabanovich (Inactive)
            scabanovich Viacheslav Kabanovich (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: