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

ContentTypeExtensionPoint#isDescendant always return true

XMLWordPrintable

    • 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

            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: