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

Broken Wiki on Upgrade to Moodle 2.0

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: None
    • Component/s: Wiki (2.x)
    • Labels:
    • Environment:
      LAMP
    • Database:
      MySQL
    • Difficulty:
      Moderate
    • Affected Branches:
      MOODLE_20_STABLE

      Description

      After upgrading from 1.9.5+ to 2.0, one wiki of one course (say, course A) when clicked on points towards the wiki of another course (say, course B). Other wikis of the same course (i.e. A) do not behave in this manner. After the concerned wiki of course B is deleted from the test installation, the following error is thrown when the concerned wiki of couse A is clicked:

      Notice: Trying to get property of non-object in /moodle/mod/wiki/create.php on line 48

      wiki/invalidwikiid

      More information about this error (clickable, points to http://docs.moodle.org/en/error/wiki/invalidwikiid)

      Stack trace:
      line 421 of /lib/setuplib.php: moodle_exception thrown
      line 49 of /mod/wiki/create.php: call to print_error()

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: