-
Notifications
You must be signed in to change notification settings - Fork 69
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
VACMS-17587: Fixes revision squashing during migrate #17637
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.
Changes look like what I would expect, however I'm seeing some odd behavior:
Change the title of the Hemet VA Clinic (/node/62682/edit) by updating the 'Name of facility' field, entering a 'Revision log message' and saving the node as 'Published'
I changed the title for this node, and Drupal appears to create 4 revisions:
However, on the revisions page, it shows only one change, but no mention of the flag being set in this revision log.
I'm probably just not up to speed on why the "recent changes" and the revisions page don't align, so I'm not sure how much of a problem this is at the db level, but I for the editor/support/admin, this is likely to cause confusion.
Similarly, the migration is creating several "recent changes" but only one revision, and the revision log has no mention of flags being set (on the revisions page)
1e141ca
to
d5eb532
Compare
Added some changes to deal with the weirdness around the multiple revisions for a flags being updated:
|
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.
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.
Looks great!
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.
Really great work, @Becapa . QA checks out and code looks good.
Description
Relates to #17587.
Testing done
Manual
QA steps
As an administrator
drush migrate:import va_node_health_care_local_facility --update --idlist=vha_605GG
Definition of Done
Select Team for PR review
CMS Team
Public websites
Facilities
User support
Accelerated Publishing
Is this PR blocked by another PR?
DO NOT MERGE
Does this PR need review from a Product Owner
Needs PO review
CMS user-facing announcement
Is an announcement needed to let editors know of this change?