Web browser: ---
            Bug ID: 59197
           Summary: Flow: page fails to load "InvalidDataException(
                    'Missing Posts:...)"
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: Unprioritized
         Component: Flow
    Classification: Unclassified
   Mobile Platform: ---

On ee-flow, Talk:Sandbox shows just
  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
(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:
#0 /srv/mediawiki/extensions/Flow/includes/Block/TopicList.php(248):
#1 /srv/mediawiki/extensions/Flow/includes/Block/TopicList.php(144):
#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),
#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...',
#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
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

Reply via email to