User:SPage (WMF)/FlowContentHandler

Enabling Flow with flow-board CH

edit

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:

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