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

JsonSerializer should not emit :childNodeCount property

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.7.5, 1.8.0
    • store-spi
    • None

    Description

      If a custom filter is used with JsonSerializer where we need to emit the hidden properties but not hidden node like below then it also emits ":childNodeCount".

      "{\"nodes\":[\"*\", \"-:*\"]}"
      

      By default ":childNodeCount" is excluded in default filter hence not being added currently. This looks a left over of initial KernalNodeStore support which supported such properties but which are not used any more. So this should be removed

      "{\"properties\":[\"*\", \"-:childNodeCount\"]}"
      

      Attachments

        Activity

          People

            chetanm Chetan Mehrotra
            chetanm Chetan Mehrotra
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: