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

Rob Stryker (JIRA) issues at jboss.org
Thu Nov 9 14:23:00 EST 2017


    [ https://issues.jboss.org/browse/JBIDE-25351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13488399#comment-13488399 ] 

Rob Stryker commented on JBIDE-25351:
-------------------------------------

The location of the error decorator (bottom left) is set in org.eclipse.ui.forms. There is no ability to override this, without a patch to both org.eclipse.wst.server and org.eclipse.ui.forms.  Sorry. 

The error message "1 error detected" is the default behavior of IManagedForm, an implementation choice made on the part of org.eclipse.wst.server.ui.  This is to accumulate several possible errors together into one error message. On mouse-over, you can view all the different errors.   Changing the behaivor here to show the single message if only one error is present would need to be done in org.eclipse.ui.forms, and may not be desirable since that package is so widely used by many different plugins. Many plugins may prefer the existing behavior. 

I've opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=527081   to address some of the other issues. Who knows how it will be received. 

> 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