Robert Munteanu created SLING-4041:
--------------------------------------
Summary: Escaped braces at the start of a property value are not
unescaped
Key: SLING-4041
URL: https://issues.apache.org/jira/browse/SLING-4041
Project: Sling
Issue Type: Bug
Components: IDE
Affects Versions: Sling Eclipse IDE 1.0.2
Reporter: Robert Munteanu
Assignee: Robert Munteanu
Fix For: Sling Eclipse IDE 1.0.4
Consider a node serialized as
{code:xml}
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0"
xmlns:jcr="http://www.jcp.org/jcr/1.0"
jcr:primaryType="sling:OsgiConfig"
org.apache.sling.commons.log.file="logs/missing.log"
org.apache.sling.commons.log.level="info"
org.apache.sling.commons.log.names="[org.apache.sling.missing]"
org.apache.sling.commons.log.pattern="\{0,date,dd.MM.yyyy HH:mm:ss.SSS}
*{4}* [{2}] {3} {5}"/>
{code}
The value of the {{org.apache.sling.commons.log.pattern}} escapes the leading
brace since it would be interpreted as a property hint. However, we don't
unescape it when writing to the repo so the leading backslash is also sent,
which is incorrect.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)