Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-12130

ContentTypeExtensionPoint#isDescendant always return true

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.8.1, 4.7.13, 4.9.0
    • 4.9.0
    • None
    • None
    • 4.8.1
    • Oui

      ContentTypeExtensionPoint#isDescendant always return true
      this function check descendent recursively, but using wrong parameters. 
      Instead of checking if given content type is a descendent of subtypes of parentType, it checks if subtypes of parentTypeId are indeed descendents of parentTypeId, wich is always true

          [CMS-12130] ContentTypeExtensionPoint#isDescendant always return true

          Kepa Bourgoin made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Ready to merge [ 10208 ] New: Resolved [ 5 ]
          Laurence Aumeunier made changes -
          Fix Version/s New: 4.7.13 [ 18786 ]
          Laurence Aumeunier made changes -
          Assignee Original: Laurence Aumeunier [ laurence ] New: Kepa Bourgoin [ kbourgoin ]
          Laurence Aumeunier made changes -
          Status Original: Code review OK [ 10206 ] New: Ready to merge [ 10208 ]
          Laurence Aumeunier made changes -
          Status Original: Available for review [ 10005 ] New: Code review OK [ 10206 ]
          Laurence Aumeunier made changes -
          Assignee New: Laurence Aumeunier [ laurence ]
          Kepa Bourgoin made changes -
          Link New: This issue Conditionne UD-276 [ UD-276 ]
          Kepa Bourgoin made changes -
          Assignee Original: Kepa Bourgoin [ kbourgoin ]
          Kepa Bourgoin made changes -
          Status Original: Open [ 1 ] New: Available for review [ 10005 ]
          Kepa Bourgoin made changes -
          Revue fonctionnelle renseignée New: Oui [ 10610 ]

            kbourgoin Kepa Bourgoin
            kbourgoin Kepa Bourgoin
            Kepa Bourgoin Kepa Bourgoin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: