[JBoss JIRA] (JBIDE-25151) Fix failing ws.ui.bot.test.rest.CreateJAXRSResourceTest
by Pavol Srna (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25151?page=com.atlassian.jira.plugi... ]
Pavol Srna closed JBIDE-25151.
------------------------------
> Fix failing ws.ui.bot.test.rest.CreateJAXRSResourceTest
> -------------------------------------------------------
>
> Key: JBIDE-25151
> URL: https://issues.jboss.org/browse/JBIDE-25151
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: integration-tests
> Affects Versions: 4.5.1.AM3
> Reporter: Pavol Srna
> Assignee: Pavol Srna
> Fix For: 4.5.1.Final
>
>
> {code}
> createResourceWithEntityAndMethodsAndCommentsTest WildFly-10.x(org.jboss.tools.ws.ui.bot.test.rest.CreateJAXRSResourceTest) Time elapsed: 17.306 sec <<< ERROR!
> org.eclipse.reddeer.jface.exception.JFaceLayerException: Window shell is disposed
> at org.eclipse.reddeer.jface.window.AbstractWindow.checkShell(AbstractWindow.java:184)
> at org.eclipse.reddeer.jface.wizard.WizardDialog.cancel(WizardDialog.java:99)
> at org.jboss.tools.ws.ui.bot.test.rest.CreateJAXRSResourceTest.cleanup(CreateJAXRSResourceTest.java:57)
> createResourceWithoutTargetEntity WildFly-10.x(org.jboss.tools.ws.ui.bot.test.rest.CreateJAXRSResourceTest) Time elapsed: 12.455 sec <<< ERROR!
> org.eclipse.reddeer.common.exception.WaitTimeoutExpiredException: Timeout after: 10 s.: control is enabled
> at org.eclipse.reddeer.common.wait.WaitUntil.throwWaitTimeOutException(WaitUntil.java:121)
> at org.eclipse.reddeer.common.wait.AbstractWait.timeoutExceeded(AbstractWait.java:205)
> at org.eclipse.reddeer.common.wait.AbstractWait.wait(AbstractWait.java:150)
> at org.eclipse.reddeer.common.wait.AbstractWait.<init>(AbstractWait.java:131)
> at org.eclipse.reddeer.common.wait.AbstractWait.<init>(AbstractWait.java:96)
> at org.eclipse.reddeer.common.wait.AbstractWait.<init>(AbstractWait.java:63)
> at org.eclipse.reddeer.common.wait.AbstractWait.<init>(AbstractWait.java:49)
> at org.eclipse.reddeer.common.wait.WaitUntil.<init>(WaitUntil.java:37)
> at org.eclipse.reddeer.swt.impl.button.AbstractButton.click(AbstractButton.java:56)
> at org.eclipse.reddeer.jface.wizard.WizardDialog.next(WizardDialog.java:120)
> at org.jboss.tools.ws.ui.bot.test.rest.CreateJAXRSResourceTest.createResourceWithoutTargetEntity(CreateJAXRSResourceTest.java:172)
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 4 months
[JBoss JIRA] (JBIDE-25396) Change message confirmation class of Openshift discovery of image registry URL
by Ondrej Dockal (JIRA)
Ondrej Dockal created JBIDE-25396:
-------------------------------------
Summary: Change message confirmation class of Openshift discovery of image registry URL
Key: JBIDE-25396
URL: https://issues.jboss.org/browse/JBIDE-25396
Project: Tools (JBoss Tools)
Issue Type: Enhancement
Components: cdk, openshift
Affects Versions: 4.5.2.AM1
Reporter: Ondrej Dockal
Assignee: Ondrej Dockal
Fix For: 4.5.2.AM1
When handling confirmation dialog of discovery feature in openshift connection wizard, MessageBox is used. This class is subclass of org.eclipse.swt.widgets.Dialog which is mentioned to be using built-in platform dialogs that are not accessible via RedDeer framework or any other way. I cannot handle this kind of dialog in integration tests.
Thus, I would like to change the MessageBox implementation to MessageDialog which is from jface layer and is easily obtainable via RedDeer.
To advocate this patch, MessageDialog is commonly used in openshift plugin while MessageBox is not (just this one occurrence).
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 4 months
[JBoss JIRA] (JBIDE-25351) CDK server adapter can be saved even though that there is error
by Ondrej Dockal (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25351?page=com.atlassian.jira.plugi... ]
Ondrej Dockal edited comment on JBIDE-25351 at 11/14/17 6:30 AM:
-----------------------------------------------------------------
> 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.
No problem.
> The error message "1 error detected" is the default behavior of IManagedForm...
Did not know about mouse-over and that this is upstream implementation, I would not go the way that would influence another developers/plugins. Since I am the only one who noticed, I would wait if there will be any complaints from actual users.
> I've opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=527081...
Many thanks! let's see if anyone will actually take care of this. Well, seems that you already did. :)
was (Author: odockal):
> 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.
No problem.
> The error message "1 error detected" is the default behavior of IManagedForm...
Did not know about mouse-over and that this is upstream implementation, I would not go the way that would influence another developers/plugins. Since I am the only one who noticed, I would wait if there will be any complaints from actual users.
> I've opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=527081...
Many thanks! let's see if anyone will actually take care of this.
> 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)
8 years, 4 months
[JBoss JIRA] (JBIDE-25351) CDK server adapter can be saved even though that there is error
by Ondrej Dockal (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25351?page=com.atlassian.jira.plugi... ]
Ondrej Dockal 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.
No problem.
> The error message "1 error detected" is the default behavior of IManagedForm...
Did not know about mouse-over and that this is upstream implementation, I would not go the way that would influence another developers/plugins. Since I am the only one who noticed, I would wait if there will be any complaints from actual users.
> I've opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=527081...
Many thanks! let's see if anyone will actually take care of this.
> 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)
8 years, 4 months