]
Victor Rubezhny updated JBIDE-9414:
-----------------------------------
Fix Version/s: 3.3.0.M4
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, 3.3.0.M4
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: