Last modified: 2013-11-27 16:15:21 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 T59417, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57417 - Fatal error on editing any page after enrolling to a course
Fatal error on editing any page after enrolling to a course
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
EducationProgram (Other open bugs)
unspecified
All All
: Unprioritized critical (vote)
: ---
Assigned To: Andrew Green
http://el.wikipedia.org
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-22 12:30 UTC by geraki (Konstantinos Stampoulis)
Modified: 2013-11-27 16:15 UTC (History)
3 users (show)

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


Attachments

Description geraki (Konstantinos Stampoulis) 2013-11-22 12:30:03 UTC
At el.wikipedia where Education Program extension was recently deployed (Bug 56771), for testing I got myself enrolled on a course.

While everything was working normally, trying to _edit_anything_ brought me an error:


PHP fatal error in /usr/local/apache/common-local/php-1.23wmf4/extensions/EducationProgram/includes/Events/EditEventCreator.php line 159: 
Argument 1 passed to EducationProgram\Events\{closure}() must be an instance of _DiffOp, instance of DiffOp_Copy given


After I disenrolled from the course, everything went back to normal.

Enrolling once more, no problem.
Comment 1 geraki (Konstantinos Stampoulis) 2013-11-22 12:46:27 UTC
Mistake: it '''does''' give an error at random pages like [[el:Συζήτηση:Ανζ Μαντάμ/Πρόταση διαγραφής]]. I can't figure out what is special on them.
Comment 2 Sage Ross 2013-11-22 14:17:40 UTC
@geraki: What page were you editing the first time?

I haven't been able to replicate the problem you describe, so any details you can give on how to make the error happen will be helpful.
Comment 3 Sage Ross 2013-11-22 14:20:39 UTC

*** This bug has been marked as a duplicate of bug 57380 ***
Comment 4 Andrew Green 2013-11-22 16:55:58 UTC
See patch for bug 57380
Comment 5 Andrew Green 2013-11-22 18:35:37 UTC
This fix for this bug has been merged to the live sites. I don't know exactly how long it will take to propagate throughout the cluster, but if you'd like to try editing the page that you had trouble with and post the results here, that'd be great. Thanks a lot!

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


Navigation
Links