Issue Details (XML | Word | Printable)

Key: MDL-20391
Type: Bug Bug
Status: Open Open
Priority: Blocker Blocker
Assignee: moodle.com
Reporter: Tim Hunt
Votes: 0
Watchers: 0
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

lib/simpletest/testfilelib.php causing fatal errors

Created: 30/Sep/09 10:02 PM   Updated: 13/Nov/09 04:08 PM
Return to search
Component/s: Files API
Affects Version/s: 2.0
Fix Version/s: 2.0

Issue Links:
Dependency
 

Participants: moodle.com and Tim Hunt
Security Level: None
Affected Branches: MOODLE_20_STABLE
Fixed Branches: MOODLE_20_STABLE


 Description  « Hide
lib/simpletest/testfilelib.php does require_once($CFG->dirroot.'/user/lib.php'); which does not exist, causing fatal errors.

CVS says you introduced it Nico. Please fix.

I have committed a temporary change commenting out that line.

(Also many blog unit test failures for me.)

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Tim Hunt added a comment - 30/Sep/09 10:11 PM
Actually commenting that out was insufficient, since one of the tests uses a non-existant create_user function.

New interim fix: lib/simpletest/testfilelib.php renamed to lib/simpletest/broken_testfilelib.php