Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-14632 Consistent Navigation for Moodle 2.0
  3. MDL-20543

Generation bug when course and category paths are identical

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Libraries
    • Labels:
      None
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      There is a bug whereby categories appear not to be added to the navigation structure when a course is added with the same path as a category.

      Don't know how I missed this one, either way I will commit a patch to resolve this after some more testing.
      The patch itself combines the desired key (internally this is the structure id) with the type internally to ensure that any two elements of different types with the same id's and paths can coexist in the same point of the structure.

        Attachments

          Activity

            People

            • Assignee:
              samhemelryk Sam Hemelryk
              Reporter:
              samhemelryk Sam Hemelryk
              Tester:
              Nobody
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Nov/10