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 "Miroslav Smiljanic (Jira)" <ji...@apache.org> on 2025/01/10 14:35:00 UTC
[jira] [Commented] (OAK-11379) JsonSerializer output contains deleted children of orderable nodes
[ https://issues.apache.org/jira/browse/OAK-11379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17912002#comment-17912002 ]
Miroslav Smiljanic commented on OAK-11379:
------------------------------------------
[~jelmini] thanks for the contribution.
> JsonSerializer output contains deleted children of orderable nodes
> ------------------------------------------------------------------
>
> Key: OAK-11379
> URL: https://issues.apache.org/jira/browse/OAK-11379
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: store-spi
> Affects Versions: 1.72.0
> Reporter: Carlo Jelmini
> Assignee: Miroslav Smiljanic
> Priority: Minor
>
> {color:#1d1c1d} {color}{{JsonSerializer}}{color:#1d1c1d} explicitly checks for the presence of the {color}{{:childOrder}}{color:#1d1c1d} property{color}{color:#1d1c1d} and then builds an ordered list of the children entries. However, the current code doesn't check if the node still exists (a deleted node is not removed but becomes a MISSING_NODE). Deleted nodes incorrectly end up being part of the output.
> {color}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)