[
https://issues.apache.org/jira/browse/WW-1984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lukasz Lenart updated WW-1984:
------------------------------
Fix Version/s: (was: Future)
3.x
> [Properties] Quote handling Inconsistencies introduced by getText
> -----------------------------------------------------------------
>
> Key: WW-1984
> URL: https://issues.apache.org/jira/browse/WW-1984
> Project: Struts 2
> Issue Type: Bug
> Components: Integration
> Affects Versions: 2.0.6
> Environment: struts 2.0.6, jdk1.5.0_06, window XP
> Reporter: Florent Ramière
> Fix For: 3.x
>
>
> I reproduced the xwork bug I just created here, as it is impacting struts2
> developers. Please remove this bug if it is not appropriate.
> ---
> Original bug : http://jira.opensymphony.com/browse/XW-528
> ---
> When working with ' (quotes) in properties, we encounter a side effect that
> is related to bug #4293229 at sun.com
> (http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4293229)
> Basically, what this bug says is the following:
> - double your ' when using messageFormat
> - do not double your ' when using getProperty
> As LocalizedTextUtil always use messageFormat, when mixing regular
> resourcebundle (in the heart of the application) and getText (in jsp,
> freemarker etc) when have inconsistencies.
> Some key will be displayed correctly, and some others will be displayed with
> double quotes.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira