Page MenuHomePhabricator

CopyPatrol: Review buttons stay in loading state
Closed, ResolvedPublic2 Estimated Story Points

Description

Reviewing works, but it stays in a loading state after you click the button.

Event Timeline

Niharika subscribed.

Console error while reviewing:

https://tools.wmflabs.org/plagiabot/review/add?id=25538063&val=false Failed to load resource: the server responded with a status of 500 (HTTP/2.0 500)

undoing:

[Error] Failed to load resource: the server responded with a status of 500 (HTTP/2.0 500) (undo, line 0)
kaldari set the point value for this task to 2.Nov 17 2016, 6:07 PM

If this helps, this is what I see when I try to add a review, then use the "Preview" of the response in Chrome's devtools:

Fatal error: Call to a member function getWikipediaUrl() on null in /path/to/CopyPatrol/src/Controllers/CopyPatrol.php on line 440

So when it tries to get a link to the user's userpage (which is shown after you review), it seems the WikiDao hasn't been instantiated yet.