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

Activity completion checkbox should link to absolute url

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.2
    • Fix Version/s: 2.0.3
    • Component/s: Activity completion
    • Labels:
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      I suspect this wouldn't cause an error in core Moodle as it currently stands, but we are finding problems (at the OU UK) as we develop the mobile theme work where the activity completion boxes are on a different page to normal.

      Then, because the checkbox form doesn't post to an absolute URL, you get a 404 error.

      The attached patch uses an absolute URL which will cause no problem for current use, but will also be fine for mobile in the future.

        Attachments

          Activity

            People

            Assignee:
            jenny-gray Jenny Gray
            Reporter:
            jenny-gray Jenny Gray
            Tester:
            Sam Hemelryk
            Participants:
            Component watchers:
            Sam Marshall, 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:
              5/May/11