Page MenuHomePhabricator

After disabling flow (as a beta feature) on elwiki, my talk page doesn't exist: "InvalidDataException: Flow workflow is for different page"
Closed, DuplicatePublic

Description

I had enable flow in el.wikipedia for a couple of years, where it is available as a beta feature. Today I disabled it from my preferences and I do not have access to my talk page. I get the message "[XcQmwApAAEUAAJetSWcAAAAW] 2019-11-07 14:14:24: Fatal exception of type «Flow\Exception\InvalidDataException»"

Flow talk page manager didn't create the archive page as should:

Log:

(διαφ. | ιστορ.) . . Συζήτηση χρήστη:Ah3kal/Structured Discussions Archive 1• 11:34 . . +398 . . Ο Flow talk page manager (Συζήτηση | Συνεισφορά | φραγή) επεξεργάστηκε την περιγραφή

I didn't try to enable flow again.

Details

Request ID
XcQmwApAAEUAAJetSWcAAAAW
Stack Trace

#0 /srv/mediawiki/php-1.35.0-wmf.4/extensions/Flow/includes/WorkflowLoaderFactory.php(103): Flow\WorkflowLoaderFactory->loadWorkflowById(Title, Flow\Model\UUID)
#1 /srv/mediawiki/php-1.35.0-wmf.4/extensions/Flow/includes/Actions/Action.php(105): Flow\WorkflowLoaderFactory->createWorkflowLoader(Title)
#2 /srv/mediawiki/php-1.35.0-wmf.4/extensions/Flow/includes/Actions/ViewAction.php(20): Flow\Actions\FlowAction->showForAction(string, OutputPage)
#3 /srv/mediawiki/php-1.35.0-wmf.4/extensions/Flow/includes/Actions/Action.php(50): Flow\Actions\ViewAction->showForAction(string)
#4 /srv/mediawiki/php-1.35.0-wmf.4/includes/MediaWiki.php(514): Flow\Actions\FlowAction->show()
#5 /srv/mediawiki/php-1.35.0-wmf.4/includes/MediaWiki.php(304): MediaWiki->performAction(Article, Title)
#6 /srv/mediawiki/php-1.35.0-wmf.4/includes/MediaWiki.php(967): MediaWiki->performRequest()
#7 /srv/mediawiki/php-1.35.0-wmf.4/includes/MediaWiki.php(530): MediaWiki->main()
#8 /srv/mediawiki/php-1.35.0-wmf.4/index.php(44): MediaWiki->run()
#9 /srv/mediawiki/w/index.php(3): require(string)
#10 {main}

Event Timeline

Ah3kal created this task.Thu, Nov 7, 2:19 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptThu, Nov 7, 2:19 PM
Restricted Application added a project: Growth-Team. · View Herald TranscriptThu, Nov 7, 2:23 PM
kostajh added a subscriber: kostajh.Thu, Nov 7, 2:26 PM

@Ah3kal I've fixed the page so it appears as a Flow board, but we'll have to look a bit closer to figure out why it didn't disable properly.

The code which failed:

private function createRevision( Title $title, $contentText, $summary ) {
		$page = WikiPage::factory( $title );
		$newContent = new WikitextContent( $contentText );
		$status = $page->doEditContent(
			$newContent,
			$summary,
			EDIT_FORCE_BOT | EDIT_SUPPRESS_RC,
			false,
			$this->user
		);

		if ( !$status->isGood() ) {
			throw new ImportException( "Failed creating revision at {$title}" );
		}
	}

Hard to say what exactly went wrong with doEditContent.

Masumrezarock100 changed the subtype of this task from "Bug Report" to "Production Error".Thu, Nov 7, 2:32 PM
Ah3kal added a comment.Thu, Nov 7, 2:35 PM

@Ah3kal I've fixed the page so it appears as a Flow board, but we'll have to look a bit closer to figure out why it didn't disable properly.

That was fast! Thank you! I'll wait before disabling flow again.

Aklapper renamed this task from After disabling flow (as a beta feature) my talk page doen't exist to After disabling flow (as a beta feature) on elwiki, my talk page doesn't exist: "InvalidDataException: Flow workflow is for different page".Thu, Nov 7, 2:45 PM
Aklapper set Request ID to XcQmwApAAEUAAJetSWcAAAAW.
Aklapper edited Stack Trace. (Show Details)