Moodle

Upload repository type broken in latest moodle 2.0

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 2.0
  • Fix Version/s: 2.0
  • Component/s: Repositories
  • Labels:
    None
  • Environment:
    Any
  • Database:
    Any
  • Difficulty:
    Easy
  • Affected Branches:
    MOODLE_20_STABLE
  • Fixed Branches:
    MOODLE_20_STABLE

Description

The upload a file plugin is generating a JSON error when used on the latest build of HEAD. (See the attached error message)

The issues seems to be with the function

public function get_listing()

it is missing the line

global $CFG;

Activity

Hide
Dongsheng Cai added a comment -

Thanks for reporting this, Stephen, fixed

Show
Dongsheng Cai added a comment - Thanks for reporting this, Stephen, fixed

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: