JsonQueryServlet does not return multi-value properties
-------------------------------------------------------

                 Key: SLING-1006
                 URL: https://issues.apache.org/jira/browse/SLING-1006
             Project: Sling
          Issue Type: Bug
          Components: Servlets Get
    Affects Versions: Servlets Get 2.0.4
            Reporter: Felix Meschberger
            Assignee: Felix Meschberger
             Fix For: Servlets Get 2.0.6


>From the mailing list:

I'm trying to get back a multivalued property from the JSON Query Servlet, but 
it appears that that doesn't work.  Here's what I did:

   curl -Ftitle="some title text" -Ftext="some body text content" \
         -Ftest="1" -Ftest="2" 
http://admin:ad...@localhost:8080/some/new/content

That posts successfully, and I can view it at 
http://localhost:8080/some/new/content.json and see that test is ["1","2"].  If 
I try to find it with JQS though at

    
http://localhost:8080/some.query.json?queryType=xpath&statement=/jcr:root/some/new/*&property=title&property=test

The title property is correctly displayed, but test is shown as "".  Is this a 
known issue, or should I open a Jira?

-- 
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