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

CDK server adapter can be saved even though that there is error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.5.2.Final
    • 4.5.1.Final
    • cdk
    • None
    • Hide

      1. Create CDK server adapter with name "CDK 1"
      2. Create another CDK server adapter, called "CDK 2"
      3. Open CDK 2 server editor and change name to "CDK 1"
      4. ASSERT: Error decoration pops up saying: ""The name is already in use...etc"
      5. Save editor
      6. ASSERT: Error dialog appears with the error message
      Actual result: Editor is saved, there are two server adapters with the same name

      Show
      1. Create CDK server adapter with name "CDK 1" 2. Create another CDK server adapter, called "CDK 2" 3. Open CDK 2 server editor and change name to "CDK 1" 4. ASSERT: Error decoration pops up saying: ""The name is already in use...etc" 5. Save editor 6. ASSERT: Error dialog appears with the error message Actual result: Editor is saved, there are two server adapters with the same name

      CDK 3.2+ server editor allows user to save the editor even if it shows error in server's name that is already in use.

      Also, error decorator is placed in the bottom part of the field, and in page header, there is only message "1 error detected". Change the error message in header or just do not show anything as is happening with validation of field like Minishift Binary.

            rob.stryker Rob Stryker (Inactive)
            odockal@redhat.com Ondrej Dockal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: