There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-38d46052-bd2b-4612-9636-68e534675798 XWIKI-22071 Open

Property value is cut at first comma when requested with explicit String type

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-b8ac3b41-9aee-4dd8-b194-04933078797b Vincent Massol on 12/Dec/24 12:04
 

I'd close this issue as "won't fix" because as you said, it's a behavior of Commons Configuration (see https://commons.apache.org/proper/commons-configuration/javadocs/v1.10/apidocs/org/apache/commons/configuration/PropertiesConfiguration.html ).

Now we can achieve the need by escaping commas, as in:

myproperty=value\,with\,commas

See also https://stackoverflow.com/questions/6307318/apache-commons-configuration-loads-property-until-character