jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix Meschberger (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-35) NodeTypeDefDiff compares to restrictive
Date Wed, 22 Dec 2004 15:40:03 GMT
NodeTypeDefDiff compares to restrictive

         Key: JCR-35
         URL: http://nagoya.apache.org/jira/browse/JCR-35
     Project: Jackrabbit
        Type: Bug
 Environment: Jackrabbit SVN Rev. 122969
    Reporter: Felix Meschberger

The NodeTypeDefDiff class is used to compare NodeTypeDef instances. Unfortunately this class
reports two NodeTypeDef instances which are not equal but have no structural difference as
having trivial changes. The correct result would be to have no modification at all.

I suggest to modify the NodeTypeDefDiff.init() method such, that the initial type is "NONE"
instead of "TRIVIAL" and to first compare the "hasOrderableChildNodes" first and raise the
level to "TRIVIAL" if not equal. Next the rest of the current comparisons would follow.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
If you want more information on JIRA, or have a bug to report see:

View raw message