Last modified: 2013-02-27 18:43:48 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T47496, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 45496 - Special:Enroll gives fatal error: "Class 'UnknownGroup' not found"
Special:Enroll gives fatal error: "Class 'UnknownGroup' not found"
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
EducationProgram (Other open bugs)
master
All All
: Immediate critical (vote)
: ---
Assigned To: Jeroen De Dauw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-27 16:31 UTC by Sage Ross
Modified: 2013-02-27 18:43 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Sage Ross 2013-02-27 16:31:41 UTC
Attempting to enroll in a course results in:

PHP fatal error in /usr/local/apache/common-local/php-1.21wmf10/extensions/EducationProgram/includes/TimelineGroup.php line 67: 
Class 'UnknownGroup' not found

See for example: http://en.wikipedia.org/wiki/Education_Program:Example_University/Example_Course_(2013_Q1)
Comment 1 Platonides 2013-02-27 16:49:02 UTC
Confirmed, but it doesn't make sense. The UnknownGroup class is defined in the same file (includes/TimelineGroup.php).
Comment 2 Sage Ross 2013-02-27 16:59:19 UTC
I get the same error from http://en.wikipedia.org/wiki/Special:MyCourses
Comment 3 Sage Ross 2013-02-27 17:08:30 UTC
(But only if I have active courses.)
Comment 4 Jeroen De Dauw 2013-02-27 17:33:51 UTC
Will have a look
Comment 5 Jeroen De Dauw 2013-02-27 17:36:32 UTC
Ah, not sure how this has gone undetected for so long.

/me slaps himself for not having done TDD when writing EP

Simple fix though. https://gerrit.wikimedia.org/r/#/c/51177/
Comment 6 Sage Ross 2013-02-27 18:00:54 UTC
Reedy deployed that fix, but Special:MyCourses is still throwing the same error. Special:Enroll is fixed, though.
Comment 7 Sage Ross 2013-02-27 18:03:55 UTC
Nevermind, it's okay now.
Comment 8 Platonides 2013-02-27 18:43:48 UTC
That explains it, I did not take the namespace into account.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links