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)