Var attributes resolve works unstable in Seam CA
-------------------------------------------------
Key: JBIDE-4760
URL:
https://jira.jboss.org/jira/browse/JBIDE-4760
Project: JBoss Tools
Issue Type: Bug
Reporter: Victor Rubezhny
Assignee: Alexey Kazakov
Fix For: 3.1.0.M3
The issue is found by
org.jboss.tools.seam.ui.test.ca.SeamELContentAssistTestCase.testVarAttributes() JUnit Test
Case
Steps to reproduce:
===============
EXECUTE: Import the TestSeamELContentAssist Test project from
/org.jboss.tools.seam.ui.test/projects into theworkspace
EXECUTE: Replace the content of file
/TestSeamELContentAssist/src/action/demo/TestComponentForVarAttributes.java with the one
from /TestSeamELContentAssist/src/action/demo/TestComponentForVarAttributes.0 file (empty
c;lass)
EXECUTE: Make sure that the project is saved and built-up.
EXECUTE: Replace the content of file
/TestSeamELContentAssist/src/action/demo/TestComponentForVarAttributes.java with the one
from /TestSeamELContentAssist/src/action/demo/TestComponentForVarAttributes.1 file (a
class containing some properties).
EXECUTE: Make sure that the project is saved and built-up.
EXECUTE: Open /TestSeamELContentAssist/WebContent/varAttributes.xhtml file in editor.
Point a cursor to the following position: <h:outputText
value="#{test.|}"/> and press Ctrl-Space to invoke the CA
ASSERT: "name" property is shown in the list of proposals
Note: In my execution environment when I sequentially call the CA in this point the
"name" property appears periodically for some times but not always.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira