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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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
            sry_not4sale Aaron Barnes added a comment -

            Fix for this issue and link to report

            Show
            sry_not4sale Aaron Barnes added a comment - Fix for this issue and link to report
            Hide
            sry_not4sale 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
            sry_not4sale 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
            tsala 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
            tsala 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
            skodak 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
            skodak 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:
                  Fix Release Date:
                  21/Feb/11