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:41:00 UTC

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

     [ https://issues.apache.org/jira/browse/OAK-6475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chetan Mehrotra resolved OAK-6475.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.7.5

Done with 1802448

> 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, 1.7.5
>
>
> 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)