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

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 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
    • 1.8.5, 1.9
    • None
    • None
    • Any
    • MOODLE_15_STABLE, MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE
    • 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

            dougiamas Martin Dougiamas
            nilinili Nicklas Lindgren
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              3/Mar/08