[ https://issues.apache.org/jira/browse/OAK-3939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15123358#comment-15123358 ]
Michael Dürig commented on OAK-3939: ------------------------------------ Great find Alex! Patch looks good, including that UT we should have had since long... > SegmentMK Template equals and hashCode broken > --------------------------------------------- > > Key: OAK-3939 > URL: https://issues.apache.org/jira/browse/OAK-3939 > Project: Jackrabbit Oak > Issue Type: Bug > Components: segmentmk > Reporter: Alex Parvulescu > Assignee: Alex Parvulescu > Fix For: 1.3.15 > > Attachments: templates.patch > > > the hash code generation cannot differentiate between 'zeo child nodes' and > 'many child nodes', producing the same value if all other properties are the > same. > equals: in one of the 2 constructors the 'properties' array is not sorted, > producing a failing check if 2 templates are the same but have shuffled > properties -- This message was sent by Atlassian JIRA (v6.3.4#6332)