Uploaded image for project: 'Offre de formation'
  1. Offre de formation
  2. ODF-3520

OdfRightHelper.getParents ignore the ancestor when ancestor is a direct parent course list

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.8.0
    • None
    • None
    • None
    • 4.8.0 M8

      When calling OdfRightHelper.getParents(course, permissionCtx) with an ancestor in permission context that is a direct parent course list, the ancestor is ignored.

      For example the following structure:

      - Formation A
              |-- Parcours A
                    |-- Année 1
                         |-- Semestre 1
                             |-- Liste L1
                                    |-- UE 1
                         |-- Semestre 2
                             |-- Liste L2
                                    |-- UE 1
      

      OdfRightHelper.getParents(UE 1, Liste 1) returns (Semestre1, Semestre2) instead of Semestre 1

            laurence Laurence Aumeunier
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: