]
Alexey Kazakov updated JBIDE-9099:
----------------------------------
Summary: OpenOn on JSF composite component throws AssertionFailedException (was:
OpenOn on JSF composition component throws AssertionFailedException)
OpenOn on JSF composite component throws AssertionFailedException
-----------------------------------------------------------------
Key: JBIDE-9099
URL:
https://issues.jboss.org/browse/JBIDE-9099
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JSF, jsp/jsf/xml source editing
Affects Versions: 3.3.0.M2
Reporter: Alexey Kazakov
Assignee: Victor Rubezhny
Fix For: 3.3.0.M3
EXECUTE: Import Seam-booking example (See
http://seamframework.org/Seam3/Contribute for
details how to get this example from Seam git repository.
EXECUTE: Open src/main/webapp/resources/components/model/displayHotel.xhtml
EXECUTE: Ctrl+Click on attribute "value" in <p:output label="Name"
value="#{cc.attrs.value.name}"/>
{color:red}FAILURE:{color} AssertionFailedException is thrown in Eclipse Log:
{code}
org.eclipse.core.runtime.AssertionFailedException: assertion failed:
at org.eclipse.core.runtime.Assert.isTrue(Assert.java:110)
at org.eclipse.core.runtime.Assert.isTrue(Assert.java:96)
at org.eclipse.jface.text.Position.<init>(Position.java:62)
at
org.eclipse.jface.text.source.SourceViewer.setRangeIndication(SourceViewer.java:1108)
at
org.eclipse.jface.text.source.projection.ProjectionViewer.setRangeIndication(ProjectionViewer.java:1342)
at
org.eclipse.wst.sse.ui.StructuredTextEditor.updateRangeIndication(StructuredTextEditor.java:3371)
at
org.eclipse.wst.sse.ui.StructuredTextEditor$StructuredSelectionProvider.setSelection(StructuredTextEditor.java:731)
at
org.jboss.tools.common.text.ext.util.StructuredSelectionHelper.setSelectionAndReveal(StructuredSelectionHelper.java:65)
at
org.jboss.tools.common.text.ext.util.StructuredSelectionHelper.setSelectionAndRevealInActiveEditor(StructuredSelectionHelper.java:35)
at
org.jboss.tools.jsf.text.ext.hyperlink.JSF2CCAttrsHyperlink.doHyperlink(JSF2CCAttrsHyperlink.java:85)
at
org.jboss.tools.common.text.ext.hyperlink.xpl.AbstractBaseHyperlink.open(AbstractBaseHyperlink.java:278)
...
{code}
{color:green}ASSERT:{color} No errors, <cc:attribute name="value"
required="true"/> is selected.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: