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

course_module_created event URLs are broken

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Run unit tests in course/tests/courselib_test.php and make sure they pass.
      2. Create a module in a course and then update it.
      3. Go to live logs and make sure the link to above two actions take you to the correct module.
      Show
      Run unit tests in course/tests/courselib_test.php and make sure they pass. Create a module in a course and then update it. Go to live logs and make sure the link to above two actions take you to the correct module.
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Pull Master Branch:
      MDL-44272-master
    • Sprint:
      BACKEND Sprint 11

      Description

      The legacy data and get_url() return a broken link.

      To replicate:

      • Create a new forum
      • Check the logs

      Actual:

      • The link for "course mod add" is broken

      Expected:

      • The link for "course mod add" is correct

        Attachments

          Activity

            People

            Assignee:
            ankit_frenz Ankit Agarwal
            Reporter:
            fred Frédéric Massart
            Peer reviewer:
            Petr Skoda
            Integrator:
            Dan Poltawski
            Tester:
            Mark Nelson
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona), Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              10/Mar/14