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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 2.3
    • Repositories
    • MOODLE_23_STABLE

      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

            moodle.com Moodle HQ
            marina Marina Glancy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.