https://bugzilla.wikimedia.org/show_bug.cgi?id=58264

       Web browser: ---
            Bug ID: 58264
           Summary: wrong UUID to topic_list[offset-id] leads to silent
                    500 failures
           Product: MediaWiki extensions
           Version: master
          Hardware: All
               URL: http://ee-flow.wmflabs.org/wiki/Talk:First_release?top
                    ic_list[offset-id]=050a0a1b3ef334dffb6efa163e68c4ac
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Flow
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: sp...@wikimedia.org
                CC: ebernhard...@wikimedia.org, oke...@wikimedia.org,
                    sp...@wikimedia.org
    Classification: Unclassified
   Mobile Platform: ---

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to