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

       Web browser: ---
            Bug ID: 59197
           Summary: Flow: page fails to load "InvalidDataException(
                    'Missing Posts:...)"
           Product: MediaWiki extensions
           Version: master
          Hardware: All
               URL: http://ee-flow.wmflabs.org/wiki/Talk:Sandbox
                OS: All
            Status: NEW
          Severity: major
          Priority: Unprioritized
         Component: Flow
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: sp...@wikimedia.org
                CC: ebernhard...@wikimedia.org, oke...@wikimedia.org,
                    pandiculat...@gmail.com, sp...@wikimedia.org
    Classification: Unclassified
   Mobile Platform: ---

On ee-flow, Talk:Sandbox shows just
  Error
  Failed to load the requested data. 

The exception (below) is
  Missing Posts: {"2":"050d40cb239ff00fc8b1fa163e68c4ac"}
I had earlier failures trying to add reply posts to this page, possibly because
ee-flow didn't have the workflow_user_ip SQL patch. Maybe those failures left
ee-flow in an inconsistent state.

I am able to view an individual topic from Talk:Sandbox that I had permalinked
http://ee-flow.wmflabs.org/w/index.php?title=Talk:Sandbox&workflow=050b9f659413f00fc8b1fa163e68c4ac
(though there's some kind of username display glitch there).
This suggests that Flow code needs to be more robust when loading a board. A
missing post should appear as, e.g. a pink errorbox
   [Missing post 050d40cb239ff00fc8b1fa163e68c4ac]

FWIW the code has a comment
      // TODO: fake up a pseudo-post to hold the children? At this point in
      // dev its probably a bug we want to see.

debug.log contains

[exception] [6ba067b4] /wiki/Talk:Sandbox   Exception from line 102 of
/srv/mediawiki/extensions/Flow/includes/Data/RootPostLoader.php: Missing Posts:
{"2":"050d40cb239ff00fc8b1fa163e68c4ac"}
#0 /srv/mediawiki/extensions/Flow/includes/Block/TopicList.php(248):
Flow\Data\RootPostLoader->getMulti(Array)
#1 /srv/mediawiki/extensions/Flow/includes/Block/TopicList.php(144):
Flow\Block\TopicListBlock->getTopics(Object(Flow\Data\PagerPage))
#2 /srv/mediawiki/extensions/Flow/includes/View.php(72):
Flow\Block\TopicListBlock->render(Object(Flow\Templating), Array)
#3 /srv/mediawiki/extensions/Flow/Hooks.php(151):
Flow\View->show(Object(Flow\WorkflowLoader), 'view')
#4 [internal function]: FlowHooks::onPerformAction(Object(OutputPage),
Object(Article), Object(Title), Object(User), Object(WebRequest),
Object(MediaWiki))
#5 /srv/mediawiki/includes/Hooks.php(199):
call_user_func_array('FlowHooks::onPe...', Array)
#6 /srv/mediawiki/includes/GlobalFunctions.php(4063):
Hooks::run('MediaWikiPerfor...', Array)
#7 /srv/mediawiki/includes/Wiki.php(423): wfRunHooks('MediaWikiPerfor...',
Array)
#8 /srv/mediawiki/includes/Wiki.php(305):
MediaWiki->performAction(Object(Article), Object(Title))
#9 /srv/mediawiki/includes/Wiki.php(596): MediaWiki->performRequest()
#10 /srv/mediawiki/includes/Wiki.php(460): MediaWiki->main()
#11 /srv/mediawiki/index.php(49): MediaWiki->run()
#12 {main}
Class ResourceLoaderSchemaModule not found; skipped loading
Title::getRestrictionTypes: applicable restrictions to [[Talk:Sandbox]] are
{edit,move}
OutputPage::sendCacheControl: no caching **

-- 
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