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

Using progress_bar in an upgrade script displays debugging notice in CLI

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.3.4, 3.4.1, 3.5
    • Fix Version/s: 3.3.5, 3.4.2
    • Component/s: Libraries
    • Labels:
    • Testing Instructions:
      Hide
      1. Place both of the test files in your Moodle code root
      2. Enable debug display and friends
      3. Access testweb.php in your browser
        1. Confirm no warnings were shown
      4. Run testcli.php in your console (php testcli.php)
        1. Confirm no warnings were shown
      Show
      Place both of the test files in your Moodle code root Enable debug display and friends Access testweb.php in your browser Confirm no warnings were shown Run testcli.php in your console ( php testcli.php ) Confirm no warnings were shown
    • Affected Branches:
      MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE, MOODLE_34_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-61377-master

      Description

      "progress_bar used without setting NO_OUTPUT_BUFFERING"

      This is caused as a regression of MDL-57809

       

        Attachments

        1. 1.PNG
          1.PNG
          70 kB
        2. testcli.php
          0.3 kB
        3. testweb.php
          0.4 kB

          Issue Links

            Activity

              People

              • Assignee:
                rezaie9 Shamim Rezaie
                Reporter:
                rezaie9 Shamim Rezaie
                Peer reviewer:
                Simey Lameze
                Integrator:
                Andrew Nicols
                Tester:
                Janelle Barcega
                Participants:
                Component watchers:
                Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  19/Mar/18

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h