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 "Alex Parvulescu (JIRA)" <ji...@apache.org> on 2016/01/28 10:35:39 UTC
[jira] [Created] (OAK-3939) SegmentMK Template equals and hashCode
broken
Alex Parvulescu created OAK-3939:
------------------------------------
Summary: 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
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)