On 12/8/10 2:19 PM, Jason Lee wrote:
> I'm looking at this issue ATM:
> http://java.net/jira/browse/GLASSFISH-13641
>
> In short, if the user enters a multibyte value for a property name,
> value, or description, it gets mangled when saved. I've verified that
> the multibyte character String is passed correctly
> browser->console->rest. In our REST code, we have this line of code:
>
> ConfigSupport.createAndSet((ConfigBean) parent, Property.class,
> property);
>
> At this point, property is a Map with the correct
> name/value/description values. However, somewhere inside (or beyond)
> createAndSet(), the MB char String is mangled.
Not sure.
But worse: this is not going to be replicated.... Should we worry, and
if yes, we are missing some create-*** CLI commands there,
Ludo
> It's possible, I guess, that it could be an XML issue, and therein
> lies my question: What do we need to do to allow the user to save a
> MB character String? Is our REST code interacting with the HK2 DOM
> correctly? I grepped what I felt might be likely places elsewhere in
> the GF tree, but I can't find any similar scenarios.
>
> Any pointers would be much appreciated.
>