User:SPage (WMF)/FlowContentHandler

Enabling Flow with flow-board CH
Trying out https://gerrit.wikimedia.org/r/#/c/131043/ PS 14:

I went to an old-school conventional talk page and made some edits, then added it to wgFlowOccupyPages, and returned to that page in my browser. I got this exception:

[5e24ae90] /wiki/index.php/Talk:ContentHandlerSandbox Exception from line 135 of /home/spage/projects/core/extensions/Flow/includes/WorkflowLoader.php: Invalid workflow requested by id

Backtrace:


 * 1) 0 /home/spage/projects/core/extensions/Flow/includes/WorkflowLoader.php(84): Flow\WorkflowLoader->loadWorkflowById(Title, Flow\Model\UUID)
 * 2) 1 /home/spage/projects/core/extensions/Flow/includes/WorkflowLoader.php(344): Flow\WorkflowLoader->__construct(Title, Flow\Model\UUID, boolean, Flow\DbFactory, Flow\Data\LocalBufferedCache, Flow\Data\ManagerGroup, Flow\Data\RootPostLoader, Flow\NotificationController)
 * 3) 2 /home/spage/projects/core/extensions/Flow/includes/Content/BoardContent.php(188): Flow\WorkflowLoaderFactory->createWorkflowLoader(Title, Flow\Model\UUID)
 * 4) 3 /home/spage/projects/core/includes/WikiPage.php(2105): Flow\Content\BoardContent->getParserOutput(Title, NULL, ParserOptions)
 * 5) 4 /home/spage/projects/core/includes/WikiPage.php(1772): WikiPage->prepareContentForEdit(Flow\Content\BoardContent, NULL, User, NULL)
 * 6) 5 /home/spage/projects/core/extensions/Flow/includes/TalkpageManager.php(87): WikiPage->doEditContent(Flow\Content\BoardContent, string, integer)
 * 7) 6 /home/spage/projects/core/extensions/Flow/includes/Content/Content.php(45): Flow\TalkpageManager->ensureFlowRevision(Article, Flow\Model\Workflow)
 * 8) 7 [internal function]: Flow\Content\Content::onFetchContentObject(Article, WikitextContent)
 * 9) 8 /home/spage/projects/core/includes/Hooks.php(206): call_user_func_array(string, array)
 * 10) 9 /home/spage/projects/core/includes/GlobalFunctions.php(4001): Hooks::run(string, array, NULL)
 * 11) 10 /home/spage/projects/core/includes/Article.php(431): wfRunHooks(string, array)
 * 12) 11 /home/spage/projects/core/includes/Article.php(621): Article->fetchContentObject
 * 13) 12 /home/spage/projects/core/includes/actions/ViewAction.php(44): Article->view
 * 14) 13 /home/spage/projects/core/includes/Wiki.php(431): ViewAction->show
 * 15) 14 /home/spage/projects/core/includes/Wiki.php(295): MediaWiki->performAction(Article, Title)
 * 16) 15 /home/spage/projects/core/includes/Wiki.php(599): MediaWiki->performRequest
 * 17) 16 /home/spage/projects/core/includes/Wiki.php(451): MediaWiki->main
 * 18) 17 /home/spage/projects/core/index.php(46): MediaWiki->run
 * 19) 18 {main}