You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2017/07/20 05:25:00 UTC

[jira] [Created] (OAK-6475) JsonSerializer should not emit :childNodeCount property

Chetan Mehrotra created OAK-6475:
------------------------------------

             Summary: JsonSerializer should not emit :childNodeCount property
                 Key: OAK-6475
                 URL: https://issues.apache.org/jira/browse/OAK-6475
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: store-spi
            Reporter: Chetan Mehrotra
            Assignee: Chetan Mehrotra
            Priority: Minor
             Fix For: 1.8


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

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

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

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



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)