-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pkp/pkp-lib#7725 Decision constants sync up #1188
Conversation
12a9023
to
9071a60
Compare
// \PKP\decision\Decision::BACK_FROM_PRODUCTION | ||
[ | ||
'stage_id' => [WORKFLOW_STAGE_ID_EDITING], | ||
'current_value' => 31, | ||
'updated_value' => 29, | ||
], | ||
|
||
// \PKP\decision\Decision::BACK_FROM_COPYEDITING | ||
[ | ||
'stage_id' => [WORKFLOW_STAGE_ID_SUBMISSION, WORKFLOW_STAGE_ID_INTERNAL_REVIEW, WORKFLOW_STAGE_ID_EXTERNAL_REVIEW], | ||
'current_value' => 32, | ||
'updated_value' => 30, | ||
], | ||
|
||
// \PKP\decision\Decision::CANCEL_REVIEW_ROUND | ||
[ | ||
'stage_id' => [WORKFLOW_STAGE_ID_SUBMISSION, WORKFLOW_STAGE_ID_INTERNAL_REVIEW, WORKFLOW_STAGE_ID_EXTERNAL_REVIEW], | ||
'current_value' => 33, | ||
'updated_value' => 31, | ||
], | ||
|
||
// \PKP\decision\Decision::CANCEL_INTERNAL_REVIEW_ROUND | ||
[ | ||
'stage_id' => [WORKFLOW_STAGE_ID_SUBMISSION, WORKFLOW_STAGE_ID_INTERNAL_REVIEW], | ||
'current_value' => 34, | ||
'updated_value' => 32, | ||
], | ||
]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Up to you, but these decisions should not exist before 3.4.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reason at pkp/ojs#3520 (comment) .
ba9fed7
to
920ecb3
Compare
dbscripts/xml/upgrade.xml
Outdated
@@ -148,6 +148,7 @@ | |||
<migration class="APP\migration\upgrade\v3_4_0\I8151_ExtendSettingValues"/> | |||
<migration class="PKP\migration\upgrade\v3_4_0\I8151_ExtendSettingValues"/> | |||
<migration class="PKP\migration\upgrade\v3_4_0\I7366_UpdateUserAPIKeySettings"/> | |||
<migration class="PKP\migration\upgrade\v3_4_0\I7725_DecisionConstantsUpdate"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is failing the upgrade tests. I think it should be APP\migration\...
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, sorry . fixed it .
340e7bd
to
6b4b5bd
Compare
PR related to pkp/pkp-lib#7725