Mattflaschen has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/260800

Change subject: WIP: Move up FlowUpdateWorkflowPageId
......................................................................

WIP: Move up FlowUpdateWorkflowPageId

Loading a workflow now triggers a normalization, which is
fromStorageRow + toStorageRow.  This will detect corrupt data,
specifically a 0 workflow_page_id.  FlowUpdateWorkflowPageId
is designed to fix this, but from T122329, it seems this is running
a little too late.

Bug: T122329
Change-Id: I63e7823fb715aeecf4e5c86d0a7b7fbfa3edc4e9
---
M Hooks.php
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Flow 
refs/changes/00/260800/1

diff --git a/Hooks.php b/Hooks.php
index 4aa7289..a2e3c28 100644
--- a/Hooks.php
+++ b/Hooks.php
@@ -256,14 +256,14 @@
                require_once 
__DIR__.'/maintenance/FlowUpdateRevisionTypeId.php';
                $updater->addPostDatabaseUpdateMaintenance( 
'FlowUpdateRevisionTypeId' );
 
+               require_once 
__DIR__.'/maintenance/FlowUpdateWorkflowPageId.php';
+               $updater->addPostDatabaseUpdateMaintenance( 
'FlowUpdateWorkflowPageId' );
+
                require_once __DIR__.'/maintenance/FlowPopulateLinksTables.php';
                $updater->addPostDatabaseUpdateMaintenance( 
'FlowPopulateLinksTables' );
 
                require_once __DIR__.'/maintenance/FlowFixLog.php';
                $updater->addPostDatabaseUpdateMaintenance( 'FlowFixLog' );
-
-               require_once 
__DIR__.'/maintenance/FlowUpdateWorkflowPageId.php';
-               $updater->addPostDatabaseUpdateMaintenance( 
'FlowUpdateWorkflowPageId' );
 
                require_once __DIR__.'/maintenance/FlowCreateTemplates.php';
                $updater->addPostDatabaseUpdateMaintenance( 
'FlowCreateTemplates' );

-- 
To view, visit https://gerrit.wikimedia.org/r/260800
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I63e7823fb715aeecf4e5c86d0a7b7fbfa3edc4e9
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Flow
Gerrit-Branch: master
Gerrit-Owner: Mattflaschen <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to