-
Notifications
You must be signed in to change notification settings - Fork 949
pkp/pkp-lib#10962 Map contextAcronym to journalAcronym in the email template installer #4898
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
base: stable-3_5_0
Are you sure you want to change the base?
Conversation
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.
Thanks @Hafsa-Naeem , but that's only for upgrade to 3.4, right? That's also should be run by users, who already updated to 3.4.
88b5224
to
243aee8
Compare
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.
Thanks! I left a comment
dbscripts/xml/upgrade.xml
Outdated
@@ -125,6 +125,7 @@ | |||
<upgrade minversion="3.4.0.0" maxversion="3.4.9.9"> | |||
<migration class="APP\migration\upgrade\v3_4_0\I9813_QuickSubmitSubmissionProgressType"/> | |||
<migration class="APP\migration\upgrade\v3_5_0\I11241_MissingDecisionConstantsUpdate"/> | |||
<migration class="APP\migration\upgrade\v3_4_0\I7264_UpdateEmailTemplates"/> |
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.
I'm worrying about running the whole script the second time.
E.g., we can extend PKP\migration\upgrade\v3_4_0\I7264_UpdateEmailTemplates
and override up()
and down()
method only for iterating through email templates and replacing needed variable.
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.
The new migration class will be added for the 3.4.0.0
- 3.4.9.9
instead of the old one.
c9ee21b
to
d0f5ed4
Compare
…emplate installer
…o rename legacy contextAcronym → journalAcronym for existing 3.4 installs
…EQUEST and update variable map
d0f5ed4
to
575b133
Compare
fixes #10962