[
https://issues.apache.org/jira/browse/FELIX-5156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15085510#comment-15085510
]
Serge Huber commented on FELIX-5156:
------------------------------------
Thanks JB for creating this.
A real world use case of this problem was some code that created a list of
package exports dynamically, and specifically should have be saved as such :
translation;version=\"4.0.9\",\
trax;version=\"2.7.1\",\
ucar.atd.dorade;version=\"4.2.0.min\",\
without this patch the properties saving failed because or the concatenation
that happens before the encoding, effectively trying to encode:
translation;version=\"4.0.9\",\trax;version=\"2.7.1\",\ucar.atd.dorade;version=\"4.2.0.min\",\
and it failing because it was trying to decode \ucar as an unicode character.
> Felix Properties doesn't handle multi value properties correctly
> ----------------------------------------------------------------
>
> Key: FELIX-5156
> URL: https://issues.apache.org/jira/browse/FELIX-5156
> Project: Felix
> Issue Type: Bug
> Components: Utils
> Affects Versions: utils-1.6.0, utils-1.8.0
> Reporter: Jean-Baptiste Onofré
> Fix For: utils-1.8.2
>
> Attachments: Multi_value_encoding_error.patch
>
>
> When a property contains multiple values, like:
> {code}
> testProperty = testing\\utest
> {code}
> Felix Properties considers as an unique value.
> The attached patch deals with multi-valued property (including an unit test
> to illustrate the use case).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)