text/html property rendering of multi-valued properties doesn't work
--------------------------------------------------------------------

                 Key: SLING-1718
                 URL: https://issues.apache.org/jira/browse/SLING-1718
             Project: Sling
          Issue Type: Bug
          Components: Servlets
            Reporter: Justin Edelson
             Fix For: Servlets Get 2.0.10


$ curl -u admin:admin -F a=b -F "a...@typehint=string[]" 
http://localhost:8888/test/node1
$ curl http://localhost:8888/test/node1.html
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" 
/></head>
<body>
<h1>Resource dumped by HtmlRendererServlet</h1>
<p>Resource path: <b>/test/node1</b></p>
<p>Resource metadata: <b>{sling.resolutionPathInfo=.html, 
sling.resolutionPath=/test/node1}</b></p>
<p>Resource type: <b>nt:unstructured</b></p>
<p>Resource super type: <b>-</b></p>
<h2>Resource properties</h2>
<p>
a: <b>[b]</b><br />
jcr:primaryType: <b>nt:unstructured</b><br />
</p>
</body></html>

$ curl http://localhost:8888/test/node1/a.html
returns a 204 No Content message


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to