Moodle
  1. Moodle
  2. MDL-25626

error in "Course completion status" block when clicking on the activity icon

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0.2
    • Component/s: Course completion
    • Labels:
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      If one clicks on the activity icon (any) in the Course Completion Block, he will get this error:

      Invalid course module ID
      More information about this error
      Stack trace:

      • line 421 of /lib/setuplib.php: moodle_exception thrown
      • line 52 of /mod/forum/view.php: call to print_error()

        Gliffy Diagrams

        1. mdl-25626.patch
          2 kB
          Aaron Barnes
        1. 05Scr Dec. 09 11.37.jpg
          14 kB
        2. 06Scr Dec. 09 11.47.jpg
          15 kB

          Issue Links

            Activity

            Hide
            Aaron Barnes added a comment -

            Fix for this issue and link to report

            Show
            Aaron Barnes added a comment - Fix for this issue and link to report
            Hide
            Aaron Barnes added a comment -

            Hi Elena,

            Have a fix for this now, just need to consult with HQ about why I'm having trouble committing it

            Cheers,
            Aaron

            Show
            Aaron Barnes added a comment - Hi Elena, Have a fix for this now, just need to consult with HQ about why I'm having trouble committing it Cheers, Aaron
            Hide
            Helen Foster added a comment -

            Aaron, good to hear you have a fix Please can you create a pull request for you patch to be reviewed and integrated.

            Show
            Helen Foster added a comment - Aaron, good to hear you have a fix Please can you create a pull request for you patch to be reviewed and integrated.
            Hide
            Petr Skoda added a comment -

            I have create a PULL request for this issue, one half was already fixed. Fix should be available in the next weekly build.

            Thanks for the report and patch!

            petr

            Show
            Petr Skoda added a comment - I have create a PULL request for this issue, one half was already fixed. Fix should be available in the next weekly build. Thanks for the report and patch! petr

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: