dev/core/#/258 Fix message update routine. #12492
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
5.4 unreleased regression - customised message templates being overwritten
https://lab.civicrm.org/dev/core/issues/258
Before
After
Technical Details
The test class was misnamed leading to it being deemed to be 'working' when it was not actually running :-(. Other changes are because further templates were added to the 5.4 update after this
Comments
For background prior to 5.4 we didn't ship the xml directory and updates to message templates required a lot of work for the reviewer as the tpl was copied to the install dir where the diff could not be easily viewed. Unfortunately the new mechanism had a bug