jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davide Giannella (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OAK-1872) Provide a way to hint property type when posting json
Date Tue, 03 Jun 2014 09:14:01 GMT
Davide Giannella created OAK-1872:
-------------------------------------

             Summary: Provide a way to hint property type when posting json
                 Key: OAK-1872
                 URL: https://issues.apache.org/jira/browse/OAK-1872
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: http
            Reporter: Davide Giannella
            Priority: Minor


When posting JSON stream through http-bindings for creating nodes it
fails with the exception that the node is missing the
{{jcr:primartyType}} even if posted.

This is because the Oak servlet treat it as {{String}} instead of
name. We have similar problems (not the exception) when trying to
create a {{Date}}.

It would be nice if it would be possible to hint a property type with
something like:

{code}
{ "jcr:primartyType" : "{Name}oak:Unstructured" }
{code}




--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message