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

Can not navigate to subfolders in Box.net in non-js filepicker

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.3
    • Fix Version/s: BACKEND
    • Component/s: Repositories
    • Labels:
    • Affected Branches:
      MOODLE_23_STABLE

      Description

      Box.net has dynload=false, which means that on each request the whole tree is retrieved and returned to filepicker.
      It works ok in JS filepicker because it caches the tree and when user selects a folder no request to server is sent

      But in non-JS filepicker the request for each subfolder is sent but boxclient::getfiletree ignores argument $path.

      Also I receive a warning:

      Warning: htmlspecialchars() expects parameter 1 to be string, array given in /var/www/repositories/master/moodle/lib/weblib.php on line 100

      I traced it back and noticed that boxclient::buildtree returns an array in 'path' attribute instead of a string

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                moodle.com moodle.com
                Reporter:
                marina Marina Glancy
                Participants:
                Component watchers:
                Adrian Greeve, Mihail Geshoski, Peter Dias
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: