Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-13717

Sitemap does not work properly, amongst other things - ewiki_database_moodle("GETALL" ...) is broken

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5, 1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.6, 1.6.1, 1.6.2, 1.6.3, 1.6.4, 1.6.5, 1.6.6, 1.7, 1.7.1, 1.7.2, 1.7.3, 1.7.4, 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.9
    • Fix Version/s: 1.8.5, 1.9
    • Component/s: None
    • Labels:
      None
    • Database:
      Any
    • Affected Branches:
      MOODLE_15_STABLE, MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE

      Description

      ewiki_database("GETALL") is supposed to return the latest versions of each page. A random version of the page is returned instead. Also, some redundant work is performed.

      The sitemap is broken because of this. When checking for page references, the latest page versions are mostly not considered.

      Other things are probably broken as well.

      A patch that fixes the problem is provided.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                3/Mar/08