Page MenuHomePhabricator

Flow: "could not locate workflow" errors when viewing history
Open, LowPublicPRODUCTION ERROR

Description

Error
normalized_message
[{reqId}] {exception_url}   Flow\Exception\FlowException: could not locate workflow for revision piimt3m9q9o1p127
exception.trace
from /srv/mediawiki/php-1.38.0-wmf.9/extensions/Flow/includes/Formatter/AbstractQuery.php(209)
#0 /srv/mediawiki/php-1.38.0-wmf.9/extensions/Flow/includes/Formatter/BoardHistoryQuery.php(46): Flow\Formatter\AbstractQuery->buildResult(Flow\Model\PostRevision, string)
#1 /srv/mediawiki/php-1.38.0-wmf.9/extensions/Flow/includes/Data/Pager/HistoryPager.php(46): Flow\Formatter\BoardHistoryQuery->getResults(Flow\Model\UUID, integer, NULL, string)
#2 /srv/mediawiki/php-1.38.0-wmf.9/extensions/Flow/includes/Block/BoardHistoryBlock.php(68): Flow\Data\Pager\HistoryPager->doQuery()
#3 /srv/mediawiki/php-1.38.0-wmf.9/extensions/Flow/includes/View.php(232): Flow\Block\BoardHistoryBlock->renderApi(array)
#4 /srv/mediawiki/php-1.38.0-wmf.9/extensions/Flow/includes/View.php(71): Flow\View->buildApiResponse(Flow\WorkflowLoader, array, string, array)
#5 /srv/mediawiki/php-1.38.0-wmf.9/extensions/Flow/includes/Actions/FlowAction.php(107): Flow\View->show(Flow\WorkflowLoader, string)
#6 /srv/mediawiki/php-1.38.0-wmf.9/extensions/Flow/includes/Actions/FlowAction.php(50): Flow\Actions\FlowAction->showForAction(string)
#7 /srv/mediawiki/php-1.38.0-wmf.9/includes/MediaWiki.php(538): Flow\Actions\FlowAction->show()
#8 /srv/mediawiki/php-1.38.0-wmf.9/includes/MediaWiki.php(320): MediaWiki->performAction(Article, Title)
#9 /srv/mediawiki/php-1.38.0-wmf.9/includes/MediaWiki.php(925): MediaWiki->performRequest()
#10 /srv/mediawiki/php-1.38.0-wmf.9/includes/MediaWiki.php(559): MediaWiki->main()
#11 /srv/mediawiki/php-1.38.0-wmf.9/index.php(53): MediaWiki->run()
#12 /srv/mediawiki/php-1.38.0-wmf.9/index.php(46): wfIndexMain()
#13 /srv/mediawiki/w/index.php(3): require(string)
#14 {main}
Impact

There are 10 events in the last 3 days.

Notes

The error is creating a different log event for different revision ids.

Details

Request URL
https://pt.wikibooks.org/w/index.php?action=history&title=*

Event Timeline

(@Sgs: Assuming this task is about the StructuredDiscussions code project, hence adding that project tag so other people who don't know or don't care about team tags can also find this task when searching via projects. Please set appropriate project tags when possible. Thanks!)

Tgr renamed this task from Flow\Exception\FlowException: could not locate workflow for revision piimt3m9q9o1p127 to Flow: "could not locate workflow" errors when viewing history.Dec 1 2021, 3:09 AM
Tgr subscribed.

This was probably just one error, which was emitted for several history entries when someone was looking at page history.

https://pt.wikibooks.org/w/index.php?action=history&title=Utilizador_Discuss%C3%A3o%3ARaylton_P._Sousa was the culprit but it works for me. There are some revision-deleted entries so maybe it's related to that, although how could four entires cause ten errors?

In any case, Flow is not actively supported and the impact here is minimal (one-off error which didn't cause any user-visible problem) so fixing this won't be prioritized.

Krinkle subscribed.

Old task with same error that may be related: T112954

Old task with same error that may be related: T112954

I'm not sure there's any relationship. One happens on a page move, the other on a plain history view (and the page it happens to was never moved).