[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-9414) CA incorrectly inserts a long-named properties from resource bundles

Victor Rubezhny (JIRA) jira-events at lists.jboss.org
Wed Aug 3 20:23:06 EDT 2011


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

Victor Rubezhny commented on JBIDE-9414:
----------------------------------------

Issue is fixed. Please verify.

> CA incorrectly inserts a long-named properties from resource bundles
> --------------------------------------------------------------------
>
>                 Key: JBIDE-9414
>                 URL: https://issues.jboss.org/browse/JBIDE-9414
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: jsp/jsf/xml source editing
>    Affects Versions: 3.3.0.M3
>            Reporter: Victor Rubezhny
>            Assignee: Victor Rubezhny
>             Fix For: 3.3.0.M3
>
>
> CA, when invoked after a '<bundle name>.' (whether automatically or manually) and applied, inserts a long-named property surrounded by square brackets right after existing '.'-character (must replace that character)
> Steps to reproduce:
> ==================
> EXECUTE: Create JSF/Seam or CDI project
> EXECUTE: Find/create a resource bundle and add a long-named property like 'org.jboss.long.named.Property'
> EXECUTE: Open some xhtml or jsp page and add an EL expression like '#{<bundle variable name>.'
> ASSERT:  Content Assist window appeared automatically (If it didn't try to invoke CA manually by pressing Ctrl-Space when text cursor is placed right after '.' (dot)-char). There is a property named as '['org.jboss.long.named.Property']' within the proposals
> EXECUTE: Select '['org.jboss.long.named.Property']' property proposal and apply it.
> ASSERT: The text in editor is replaced by: '#{<bundle variable name>['org.jboss.long.named.Property']}' ('.' (dot)-char has disappeared and property name surrounded by square brackets and quotes is added)

--
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