[jbosstools-issues] [JBoss JIRA] (JBIDE-25351) CDK server adapter can be saved even though that there is error

Ondrej Dockal (JIRA) issues at jboss.org
Mon Nov 6 05:04:00 EST 2017


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

Ondrej Dockal updated JBIDE-25351:
----------------------------------
    Steps to Reproduce: 
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

  was:
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 adapter with the same name



> CDK server adapter can be saved even though that there is error
> ---------------------------------------------------------------
>
>                 Key: JBIDE-25351
>                 URL: https://issues.jboss.org/browse/JBIDE-25351
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: cdk
>    Affects Versions: 4.5.1.Final
>            Reporter: Ondrej Dockal
>            Assignee: Rob Stryker
>
> 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.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jbosstools-issues mailing list