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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Do
    • 2.3
    • None
    • Repositories
    • 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

              moodle.com Moodle HQ
              marina Marina Glancy
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: