[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-9480) CdiElResolver incorrectly resolves resource message bundle properties as Java Elements

Victor Rubezhny (JIRA) jira-events at lists.jboss.org
Thu Sep 15 18:00:26 EDT 2011


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

Victor Rubezhny commented on JBIDE-9480:
----------------------------------------

JUnit Test org.jboss.tools.cdi.seam.core.test.international.SeamResourceBundleCdiElResolverTest is added.


> CdiElResolver incorrectly resolves resource message bundle properties as Java Elements
> --------------------------------------------------------------------------------------
>
>                 Key: JBIDE-9480
>                 URL: https://issues.jboss.org/browse/JBIDE-9480
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: CDI, jsp/jsf/xml source editing
>    Affects Versions: 3.3.0.M3
>            Reporter: Victor Rubezhny
>            Assignee: Victor Rubezhny
>             Fix For: 3.3.0.M4
>
>
> 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/home.xhtml
> EXECUTE: Ctrl+Left-Mouse-Click or press F3 while the text cursor is placed over 'home_header' resource bundle property in #{bundles.messages.home_header} EL.
> ASSERT: There should be the only Resource Bundle Property Hyperlinks like 'Open property 'home_header' of bundle 'messages'' hyperlink which opens messages resource bundle and selects 'home_header' property in it.
> FAIL: Actually there are two Hyperlinks listed: One for resource bundle property (correct, as described above) and another one saying: "Should not get here" (which is wrong and have nothing to open. It came from CdiElResolver)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list