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

Remove all calls to get_context_instance_by_id() from core

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.4
    • Component/s: Libraries
    • Labels:
    • Testing Instructions:
      Hide

      Grep and make sure there is no valid usage of get_context_instance_by_id() in core.

      This requires exploratory testing on the following :-

      1. Roles (assigning system roles, removing roles, creating roles etc)
      2. Bulk user upload
      3. Blocks ( community, html ,quiz results, comments)
      4. Cohorts
      5. Comments
      6. enrollments with various methods including cohort
      7. Filepicker
      8. Grades
      9. Questions
      10. quiz
      11. Forum
      12. Glossaries
      13. Repositories
      14. Web services
      15. unit tests
      Show
      Grep and make sure there is no valid usage of get_context_instance_by_id() in core. This requires exploratory testing on the following :- Roles (assigning system roles, removing roles, creating roles etc) Bulk user upload Blocks ( community, html ,quiz results, comments) Cohorts Comments enrollments with various methods including cohort Filepicker Grades Questions quiz Forum Glossaries Repositories Web services unit tests
    • Affected Branches:
      MOODLE_24_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE
    • Pull Master Branch:
      MDL-34549-master

      Description

      Remove all usage of get_instance_by_id()from core.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    3/Dec/12