[JBoss JIRA] Created: (JBIDE-7558) remove duplicate action code for instance, image and cloud view
by Andre Dietisheim (JIRA)
remove duplicate action code for instance, image and cloud view
---------------------------------------------------------------
Key: JBIDE-7558
URL: https://jira.jboss.org/browse/JBIDE-7558
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: deltacloud
Affects Versions: 3.2.0.Beta2
Reporter: Andre Dietisheim
Assignee: Andre Dietisheim
Fix For: 3.2.0.Beta2
current implementation has a lot of duplicate code in order to handle actions on the same deltacloud instances and images in the different views.
The cloud view uses:
CVInstanceElement and CVImageElement
The image view uses:
DeltaCloudImage
The instance view uses:
DeltaCloudInstance
The current code does not use adapters and therefore duplicated action-, providers etc. to handle these different object types. The result is that changes (a lot of the current issues) get tedious.
The solution is pretty simple:
Use the DeltaCloudInstance and DeltaCloudImage everywhere, wire UI by using adapters.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months
[JBoss JIRA] Created: (JBIDE-7722) Cannot create "JSF 2.0" and "JSF 2.0 & RichFaces 4.0" projects
by Yahor Radtsevich (JIRA)
Cannot create "JSF 2.0" and "JSF 2.0 & RichFaces 4.0" projects
--------------------------------------------------------------
Key: JBIDE-7722
URL: https://jira.jboss.org/browse/JBIDE-7722
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JSF
Affects Versions: 3.2.0.Beta2
Environment: jbdevstudio-eap-win32-4.0.0.v201011220647N-H191-Beta2.jar
Reporter: Yahor Radtsevich
Assignee: Alexey Kazakov
STEP TO REPRODUCE:
1. Install JBoss Developer Studio with all settings by default and run it.
2. Using New JSF Project Wizard try to create a JSF 2.0 project (see wizard.png).
RESULT:
The Wizard says: "The server does not support version 3.0 of the J2EE Web module specification.".
NOTE:
The JSF 2.0 project cannot be created on Tomcat 6.0 too.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months
[JBoss JIRA] Created: (JBIDE-7459) Starting/Stopping actions should report if something goes wrong
by Andre Dietisheim (JIRA)
Starting/Stopping actions should report if something goes wrong
---------------------------------------------------------------
Key: JBIDE-7459
URL: https://jira.jboss.org/browse/JBIDE-7459
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: deltacloud
Affects Versions: 3.2.0.Beta1
Reporter: Andre Dietisheim
Assignee: Andre Dietisheim
Fix For: 3.2.0.Beta2
how to reproduce:
1) connect to a cloud
2) open the instances subtree of the connection
3) select an instance
4) stop a stopped instance
Actual result:
nothing happens, no error is reported
Expected result:
The UI should report that there was an error performing this action since the instance is already stopped.
This usecase is a synthetic one since the Stop-action should not be available for instances that are stopped. It is exemplary for the general behaviour where no errors in actions get reported though.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months
[JBoss JIRA] Created: (JBIDE-7703) org.jboss.tools.jsf.text.ext.test.JSF2CompositeOpenOnTest failures.
by Alexey Kazakov (JIRA)
org.jboss.tools.jsf.text.ext.test.JSF2CompositeOpenOnTest failures.
-------------------------------------------------------------------
Key: JBIDE-7703
URL: https://jira.jboss.org/browse/JBIDE-7703
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JSF
Affects Versions: 3.2.0.Beta2
Reporter: Alexey Kazakov
Assignee: Daniel Azarov
Fix For: 3.2.0.CR1
testFormOpenOn(org.jboss.tools.jsf.text.ext.test.JSF2CompositeOpenOnTest) Time elapsed: 0.373 sec <<< FAILURE!
junit.framework.ComparisonFailure: null expected:<[html_basic.tld]> but was:<[input.xhtml]>
at junit.framework.Assert.assertEquals(Assert.java:81)
at junit.framework.Assert.assertEquals(Assert.java:87)
at org.jboss.tools.jsf.text.ext.test.JSF2CompositeOpenOnTest.testTag(JSF2CompositeOpenOnTest.java:70)
at org.jboss.tools.jsf.text.ext.test.JSF2CompositeOpenOnTest.testFormOpenOn(JSF2CompositeOpenOnTest.java:74)
testOutputTextOpenOn(org.jboss.tools.jsf.text.ext.test.JSF2CompositeOpenOnTest) Time elapsed: 0.296 sec <<< FAILURE!
junit.framework.ComparisonFailure: null expected:<[html_basic.tld]> but was:<[input.xhtml]>
at junit.framework.Assert.assertEquals(Assert.java:81)
at junit.framework.Assert.assertEquals(Assert.java:87)
at org.jboss.tools.jsf.text.ext.test.JSF2CompositeOpenOnTest.testTag(JSF2CompositeOpenOnTest.java:70)
at org.jboss.tools.jsf.text.ext.test.JSF2CompositeOpenOnTest.testOutputTextOpenOn(JSF2CompositeOpenOnTest.java:78)
testInputTextTextOpenOn(org.jboss.tools.jsf.text.ext.test.JSF2CompositeOpenOnTest) Time elapsed: 0.305 sec <<< FAILURE!
junit.framework.ComparisonFailure: null expected:<[html_basic.tld]> but was:<[input.xhtml]>
at junit.framework.Assert.assertEquals(Assert.java:81)
at junit.framework.Assert.assertEquals(Assert.java:87)
at org.jboss.tools.jsf.text.ext.test.JSF2CompositeOpenOnTest.testTag(JSF2CompositeOpenOnTest.java:70)
at org.jboss.tools.jsf.text.ext.test.JSF2CompositeOpenOnTest.testInputTextTextOpenOn(JSF2CompositeOpenOnTest.java:82)
testCommandButtonOpenOn(org.jboss.tools.jsf.text.ext.test.JSF2CompositeOpenOnTest) Time elapsed: 0.323 sec <<< FAILURE!
junit.framework.ComparisonFailure: null expected:<[html_basic.tld]> but was:<[input.xhtml]>
at junit.framework.Assert.assertEquals(Assert.java:81)
at junit.framework.Assert.assertEquals(Assert.java:87)
at org.jboss.tools.jsf.text.ext.test.JSF2CompositeOpenOnTest.testTag(JSF2CompositeOpenOnTest.java:70)
at org.jboss.tools.jsf.text.ext.test.JSF2CompositeOpenOnTest.testCommandButtonOpenOn(JSF2CompositeOpenOnTest.java:86)
Results :
Failed tests:
testFormOpenOn(org.jboss.tools.jsf.text.ext.test.JSF2CompositeOpenOnTest)
testOutputTextOpenOn(org.jboss.tools.jsf.text.ext.test.JSF2CompositeOpenOnTest)
testInputTextTextOpenOn(org.jboss.tools.jsf.text.ext.test.JSF2CompositeOpenOnTest)
testCommandButtonOpenOn(org.jboss.tools.jsf.text.ext.test.JSF2CompositeOpenOnTest)
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months
[JBoss JIRA] Created: (JBIDE-7748) org.jboss.tools.jsf.test.JsfAllTests.testRevalidationUnresolvedELs failures
by Alexey Kazakov (JIRA)
org.jboss.tools.jsf.test.JsfAllTests.testRevalidationUnresolvedELs failures
---------------------------------------------------------------------------
Key: JBIDE-7748
URL: https://jira.jboss.org/browse/JBIDE-7748
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JSF
Reporter: Alexey Kazakov
Assignee: Alexey Kazakov
Fix For: 3.2.0.CR1
org.jboss.tools.jsf.test.JsfAllTests.testRevalidationUnresolvedELs (from JsfAllTests)
Marker "user" cannot be resolved for line - 14 not found
junit.framework.AssertionFailedError: Marker "user" cannot be resolved for line - 14 not found
at junit.framework.Assert.fail(Assert.java:47)
at org.jboss.tools.jsf.test.validation.ELValidatorTest.assertMarkerIsCreatedForLine(ELValidatorTest.java:319)
at org.jboss.tools.jsf.test.validation.ELValidatorTest.testRevalidationUnresolvedELs(ELValidatorTest.java:79)
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months
[JBoss JIRA] Created: (JBIDE-7787) RefactorSearcher class throws ArrayIndexOutOfBoundsException exception while Java field rename
by Daniel Azarov (JIRA)
RefactorSearcher class throws ArrayIndexOutOfBoundsException exception while Java field rename
----------------------------------------------------------------------------------------------
Key: JBIDE-7787
URL: https://jira.jboss.org/browse/JBIDE-7787
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JSF
Affects Versions: 3.2.0.Beta2
Reporter: Daniel Azarov
Assignee: Viacheslav Kabanovich
Fix For: 3.2.0.CR1
Test case:
1. Create JSF KickStart project
2. Open User class
3. Select name field and right-click on it
4. Select Refactor->Rename then type 'name2' and press Enter
FAIL:
java.lang.ArrayIndexOutOfBoundsException: 3
at org.jboss.tools.jst.web.kb.refactoring.RefactorSearcher.searchInCach(RefactorSearcher.java:241)
at org.jboss.tools.jst.web.kb.refactoring.RefactorSearcher.scan(RefactorSearcher.java:197)
at org.jboss.tools.jst.web.kb.refactoring.RefactorSearcher.scan(RefactorSearcher.java:157)
at org.jboss.tools.jst.web.kb.refactoring.RefactorSearcher.scan(RefactorSearcher.java:155)
at org.jboss.tools.jst.web.kb.refactoring.RefactorSearcher.findELReferences(RefactorSearcher.java:117)
at org.jboss.tools.jsf.ui.el.refactoring.RenameMethodParticipant.checkConditions(RenameMethodParticipant.java:72)
at org.eclipse.ltk.core.refactoring.participants.ProcessorBasedRefactoring.checkFinalConditions(ProcessorBasedRefactoring.java:257)
at org.eclipse.ltk.core.refactoring.CheckConditionsOperation.run(CheckConditionsOperation.java:85)
at org.eclipse.ltk.core.refactoring.CreateChangeOperation.run(CreateChangeOperation.java:121)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1975)
at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 3 months