Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-4778

OakServlet does not handle properly JCR_PRIMARYTYPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • webapp
    • None

    Description

      The example at [1] contains the following snippet which currently does not work as expected:

      $ http -j -b localhost:8080/test \
            jcr\\:primaryType=oak:Unstructured foo=abc bar:=123
      {
          "bar": "123",
          "foo": "abc",
          "jcr:primaryType": "oak:Unstructured"
      }
      

      alexparvulescu already provided a fix for this special case at [2].

      [1] https://github.com/apache/jackrabbit-oak/tree/trunk/oak-http
      [2] https://github.com/stillalex/jackrabbit-oak/commit/70c9f71f180c3f5c6f0c436e5555f943f006a297

      Attachments

        Activity

          People

            Unassigned Unassigned
            adulceanu Andrei Dulceanu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: