Uploaded image for project: 'Hippo Repository'
  1. Hippo Repository
  2. REPO-1311

NodeTypeDefDiff incorrectly handles multiple residual property definitions

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 2.26.15, 3.0.0
    • Fix Version/s: 3.0.1, 3.1.0
    • Labels:
    • Similar issues:

      Description

      The following change in node type definition should succeed:
      old.cnd:

      [my:nodetype]
      - * (string)
      

      new.cnd:

      [my:nodetype]
      - * (string)
      - * (boolean)
      

      But this fails. The reason is that property definitions are matched up using the name (in the case of residual property definitions *) as the key. In this case * (string) is matched up with * (boolean) and a change of property type is illegal, whereas it should have matched up with * (string) in which case there is no change in property type and in which case * (boolean) is a new property definition which is legal to add.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                uhommes Unico Hommes (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: