[
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)