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

When submitting the form on the mnet access control page a warning is shown

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4.7, 2.5.3, 2.6, 2.7
    • Fix Version/s: 2.4.8, 2.5.4, 2.6.1
    • Component/s: MNet
    • Labels:
    • Testing Instructions:
      Hide
      1. Visit <yoursite>/admin/mnet/access_control.php
      2. Put any username in the form, choose 'All hosts' and set to 'Allow' and submit
      3. Check there is no message warning about displaying page data before a redirect.
      4. On the next page click on the 'Deny' link next to 'Allow'.
      5. Again, check there is no message warning about displaying page data before a redirect.
      Show
      Visit <yoursite>/admin/mnet/access_control.php Put any username in the form, choose 'All hosts' and set to 'Allow' and submit Check there is no message warning about displaying page data before a redirect. On the next page click on the 'Deny' link next to 'Allow'. Again, check there is no message warning about displaying page data before a redirect.
    • Affected Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • Pull Master Branch:
      MDL-43140_master
    • Story Points (Obsolete):
      2
    • Sprint:
      BACKEND Sprint 7

      Description

      1. Visit <yoursite>/admin/mnet/access_control.php
      2. Put any username in the form, choose 'All hosts' and set to 'Allow' and submit
      3. You will see the following -

        You should really redirect before you start page output
         
        line 741 of /lib/outputrenderers.php: call to debugging()
        line 2557 of /lib/weblib.php: call to core_renderer->redirect_message()
        line 110 of /admin/mnet/access_control.php: call to redirect()
        

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  13/Jan/14