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 "Davide Giannella (JIRA)" <ji...@apache.org> on 2017/08/03 13:55:03 UTC
[jira] [Closed] (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 ]
Davide Giannella closed OAK-6475.
---------------------------------
Bulk close for 1.7.5
> 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)