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

course management ajax leaves records in error.log

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2, 3.2.4, 3.3.1
    • Fix Version/s: 3.2.5, 3.3.2
    • Component/s: Course
    • Labels:
    • Testing Instructions:
      Hide
      1. Create 4 levels of nested course categories: Miscellaneous / Cat 1 / Subcat 1 / Subcat 1-1. Take note of their respective category IDs.
      2. Open "Manage courses" page, some categories should be collapsed
      3. Expand categories and click on "Subcat 1-1"'s "Permissions".
      4. Click "Back to category .... " in the bottom of the page, you should go back to the page that edits this category (look at the URL, it should be /course/management.php?categoryid=[Subcat 1-1's ID])
      5. Collapse all sub categories except for "Miscellaneous"
      6. Click on "Cat 1"'s category name, your URL should now be something like /course/management.php?categoryid=[Cat 1's ID]
      7. Again expand all categories and click on "Subcat 1-1"'s "Permissions".
      8. Click "Back to category .... " in the bottom of the page, you should go back to the page that edits this category (look at the URL, it should be /course/management.php?categoryid=[Subcat 1-1's ID])
      9. Same should be with the pages "Assign roles" and "Check permissions"

      Make sure there were no new entries in error.log during this test

      Show
      Create 4 levels of nested course categories: Miscellaneous / Cat 1 / Subcat 1 / Subcat 1-1 . Take note of their respective category IDs. Open "Manage courses" page, some categories should be collapsed Expand categories and click on " Subcat 1-1 "'s "Permissions". Click "Back to category .... " in the bottom of the page, you should go back to the page that edits this category (look at the URL, it should be /course/management.php?categoryid= [Subcat 1-1's ID] ) Collapse all sub categories except for " Miscellaneous " Click on " Cat 1 "'s category name, your URL should now be something like /course/management.php?categoryid= [Cat 1's ID] Again expand all categories and click on " Subcat 1-1 "'s "Permissions". Click "Back to category .... " in the bottom of the page, you should go back to the page that edits this category (look at the URL, it should be /course/management.php?categoryid= [Subcat 1-1's ID] ) Same should be with the pages "Assign roles" and "Check permissions" Make sure there were no new entries in error.log during this test
    • Affected Branches:
      MOODLE_32_STABLE, MOODLE_33_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE, MOODLE_33_STABLE
    • Pull Master Branch:
      wip-MDL-57188-master-2

      Description

      Have this is my error.log, not sure what caused it, sorry creating issue without investigation

      Debugging: This page did not call $PAGE->set_url(...). Using http://localhost:777/int_master/course/ajax/management.php in 
      * line 597 of /lib/pagelib.php: call to debugging()
      * line 817 of /lib/pagelib.php: call to moodle_page->magic_get_url()
      * line 257 of /course/classes/management/helper.php: call to moodle_page->__get()
      * line 254 of /course/classes/management_renderer.php: call to core_course\\management\\helper::get_category_listitem_actions()
      * line 147 of /course/ajax/management.php: call to core_course_management_renderer->category_listitem()
      , referer: http://localhost:777/int_master/course/management.php
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                marina Marina Glancy
                Reporter:
                marina Marina Glancy
                Peer reviewer:
                Jun Pataleta
                Integrator:
                Andrew Nicols
                Tester:
                John Okely
                Participants:
                Component watchers:
                Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/Sep/17