Last modified: 2014-02-19 22:26:58 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 T60264, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 58264 - wrong UUID to topic_list[offset-id] leads to silent 500 failures
wrong UUID to topic_list[offset-id] leads to silent 500 failures
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Flow (Other open bugs)
master
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://ee-flow.wmflabs.org/wiki/Talk:...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-10 09:59 UTC by spage
Modified: 2014-02-19 22:26 UTC (History)
3 users (show)

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


Attachments

Description spage 2013-12-10 09:59:04 UTC
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 76.14.58.232] 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 http://ee-flow.wmflabs.org/wiki/Talk:First_release?topic_list[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
Comment 1 Bingle 2013-12-10 10:30:32 UTC
The WMF core features team tracks this bug on Mingle card https://mingle.corp.wikimedia.org/projects/flow/cards/603, but people from the community are welcome to contribute here and in Gerrit.

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


Navigation
Links