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

debugstringids option does nothing

    Details

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

      1. Go to admin debugging page
      2. Turn on the 'debugstringids' option
      3. Request any page with the parameter 'strings=1' added to the URL, such as /course/?strings=1

      • Verify that string identifiers in the form {id/component}

        appear (component will be blank for moodle.php strings).
        4. Request any page without the strings=1 parameter, such as /course/

      • Verify that string IDs do not appear.
        5. On the admin debugging page, turn the option off again.
        6. Request any page with the parameter 'strings=1' added to the URL, such as /course/?strings=1
      • Verify that string IDs do not appear.
      Show
      1. Go to admin debugging page 2. Turn on the 'debugstringids' option 3. Request any page with the parameter 'strings=1' added to the URL, such as /course/?strings=1 Verify that string identifiers in the form {id/component} appear (component will be blank for moodle.php strings). 4. Request any page without the strings=1 parameter, such as /course/ Verify that string IDs do not appear. 5. On the admin debugging page, turn the option off again. 6. Request any page with the parameter 'strings=1' added to the URL, such as /course/?strings=1 Verify that string IDs do not appear.
    • Affected Branches:
      MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE
    • Pull Master Branch:
      MDL-29768-master

      Description

      On debugging admin page there is a 'debugstringids' option. Contrary to the description, this does nothing and is not referenced in any code.

      Even if it worked it is not very useful as often we can't turn it on for a whole server. I am reimplementing it for Moodle 2.2 with the requirement to use '&strings=1' in the URL to trigger it (i.e. turning on the debug option does nothing on its own, you also need to put that parameter in). This means it can be left on by default on test servers.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    5/Dec/11