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

get_course_context excepts context and not boolean in 2.1

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.4
    • Fix Version/s: 2.1.5
    • Component/s: Blocks
    • Labels:
      None
    • Testing Instructions:
      Hide
      1. add people's block to forum module.
      2. click on participants link in block. should have no context errors.
      3. add peoples block on course and front page
      4. bump up the version number
      5. upgrade site and make sure no error is thrown.
      Show
      add people's block to forum module. click on participants link in block. should have no context errors. add peoples block on course and front page bump up the version number upgrade site and make sure no error is thrown.
    • Affected Branches:
      MOODLE_21_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE

      Description

      While fixing MDL-29274, wrong patch was applied on 2.1
      In 2.1 get_course_context excepts context and not boolean

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    12/Mar/12