Uploaded image for project: '[Read Only] - Hippo Repository'
  1. [Read Only] - Hippo Repository
  2. REPO-1311

NodeTypeDefDiff incorrectly handles multiple residual property definitions

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 2.26.15, 3.0.0
    • 3.0.1, 3.1.0
    • None

    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

        1. repo-1311.patch
          21 kB
          Unico Hommes
        2. test-REPO-1311.patch
          2 kB
          Unico Hommes

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: