Page MenuHomePhabricator

wrong UUID to topic_list[offset-id] leads to silent 500 failures
Closed, DeclinedPublicPRODUCTION ERROR


I found the nifty topic_list[offset-id] parameter to scroll a particular topic into view. I think it takes the UUID of the previous workflow.

If you get it wrong as in the URL above, you see an empty browser window, and error.log contains

[Tue Dec 10 08:57:17 2013] [error] [client] PHP Catchable fatal error: Argument 1 passed to Flow\\Model\\TopicListEntry::toStorageRow() must be an instance of Flow\\Model\\TopicListEntry, null given in /srv/mediawiki/extensions/Flow/includes/Model/TopicListEntry.php on line 32

If you just give a garbled parameter like[offset-id]=bad , you at least get an exception error reported to the browser:

[1a4011a3] /wiki/Talk:First_release?topic_list[offset-id]=bad Exception from line 48 of /srv/mediawiki/extensions/Flow/includes/Model/UUID.php: Unknown input to UUID class

Maybe Flow should support a general query string parameter to make visible any topic or post, to fix bug 58251

Version: master
Severity: normal



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:38 AM
bzimport set Reference to bz58264.
bzimport added a subscriber: Unknown Object (MLST).

bingle-admin wrote:

The WMF core features team tracks this bug on Mingle card, but people from the community are welcome to contribute here and in Gerrit.

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 28 2015, 1:39 AM
Restricted Application added a project: Growth-Team. · View Herald TranscriptJul 18 2018, 6:44 PM
SBisson moved this task from Inbox to Triaged but Future on the Growth-Team board.Jul 20 2018, 6:09 PM
Krinkle closed this task as Declined.Oct 27 2018, 6:45 PM
Krinkle added a subscriber: Krinkle.

Not seen in the last 30 day of Logstash reports.

mmodell changed the subtype of this task from "Task" to "Production Error".Aug 28 2019, 11:12 PM