Uploaded image for project: 'Jahia Community'
  1. Jahia Community
  2. JAHIA-4831

Category.getCategoryPath() returns a reversed path

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • xCM 5.0 SP5 HOTFIX
    • xCM 5.0 SP5
    • None

    Description

      505 r 25329

      According to the javadoc, this function is supposed to:
      "Returns the path representation of the form /root/catKey1/catKeyB"
      But it actually returns /catKeyB/catKey1/root

      This function retrieves the list of its parent categories from another funtion, and then iterates on it. So a quick workaround would be to reverse this list before iterating, but if the other function is supposed to return this list in reversed order, it could be a source of bugs somewhere else.

      TestRail: Results

        Attachments

          Activity

            People

              srouaud_old Stéphanie Rouaud (Inactive)
              dsaulnier_old Damien Saulnier
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                TestRail: Runs

                  TestRail: Cases

                    Packages

                      Version Package
                      xCM 5.0 SP5 HOTFIX