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

Invalid JSON string on filepicker

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Files API
    • Labels:
      None
    • Database:
      MySQL
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      To reproduce:

      • Moodle 2.0 site with only "Miscellaneous" course category.
      • add a course
      • enter it and add a file resource
      • click on the Add button
      • in file picker, click Server files: a list of folder appears.
      • click on "Miscellaneous"
      • ERROR: Invalid JSON string
        Invalid get_string() identifier: 'pagecontent' or component 'page'line 5997 of /lib/moodlelib.php:
        call to debugging()line 6551 of /lib/moodlelib.php:
        call to core_string_manager->get_string()line 283 of /mod/page/lib.php: call to get_string()line 61 of /lib/filebrowser
        ....omissis (very long debug message)...

        Attachments

          Activity

            People

            Assignee:
            skodak Petr Skoda
            Reporter:
            andreabix Andrea Bicciolo
            Tester:
            Nobody
            Participants:
            Component watchers:
            Matteo Scaramuccia, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              24/Nov/10