Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.5
    • 2.6
    • Libraries
    • MOODLE_25_STABLE
    • MOODLE_26_STABLE
    • MDL-40468_master
    • Hide

      Note: the block recent_activity makes a call to a deprecated function that uses this now deprecated function, so you will get a debugging message displayed whenever this block is displayed, a separate issue has been created to restore this - MDL-40649

      1. Perform a search for get_related_contexts_string and ensure there are no calls to this function in core.
      2. Visit a course and create an assignment.
      3. Enrol a few students.
      4. Give them all grades for this assignment.
      5. Visit the gradebook and export these results and ensure it works as expected with no debugging message.
      6. Edit the export file to change the grades.
      7. Select CSV as your chosen import format from the gradebook dropdown menu.
      8. Browse and upload your previously saved file and ensure it works as expected with no debugging message.
      9. Select the 'Overview report' in the gradebook and ensure you can select a user to view.
      10. Go back to the course main page and click on the groups menu.
      11. Create groups and assign members to the groups and ensure it works as expected with no debugging message.
      12. Go back to the course main page and click reports and then the participation report and ensure it works as expected with no debugging message.
      13. In the navigation block on the course page click on 'Current course' -> The course shortname -> participants and ensure it works as expected with no debugging message.
      14. Change the role to 'student' on this page and ensure it works as expected with no debugging message.
      Show
      Note: the block recent_activity makes a call to a deprecated function that uses this now deprecated function, so you will get a debugging message displayed whenever this block is displayed, a separate issue has been created to restore this - MDL-40649 Perform a search for get_related_contexts_string and ensure there are no calls to this function in core. Visit a course and create an assignment. Enrol a few students. Give them all grades for this assignment. Visit the gradebook and export these results and ensure it works as expected with no debugging message. Edit the export file to change the grades. Select CSV as your chosen import format from the gradebook dropdown menu. Browse and upload your previously saved file and ensure it works as expected with no debugging message. Select the 'Overview report' in the gradebook and ensure you can select a user to view. Go back to the course main page and click on the groups menu. Create groups and assign members to the groups and ensure it works as expected with no debugging message. Go back to the course main page and click reports and then the participation report and ensure it works as expected with no debugging message. In the navigation block on the course page click on 'Current course' -> The course shortname -> participants and ensure it works as expected with no debugging message. Change the role to 'student' on this page and ensure it works as expected with no debugging message.
    • BACKEND Sprint 2

    Description

      Deprecate get_related_contexts_string()
      http://docs.moodle.org/dev/Deprecation#Step_1._Immediate_action

      Attachments

        Issue Links

          Activity

            People

              markn Mark Nelson
              rajeshtaneja Rajesh Taneja
              Frédéric Massart Frédéric Massart
              Damyon Wiese Damyon Wiese
              David Monllaó David Monllaó
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                18/Nov/13