When VAMC Health Services are created, the revision timestamp on related VAMC Facility is incorrect #17808
Labels
Defect
Something isn't working (issue type)
Drupal engineering
CMS team practice area
Facilities
Facilities products (VAMC, Vet Center, etc)
Needs refining
Issue status
Regional office
CMS managed VBA product owned by the Facilities team
sitewide
Technical debt
VA services taxonomy
CMS-managed product owned by the Facilities team
VAMC
CMS managed product owned by Facilities team
Description or Additional Context
In the aftermath of #17587, we have a new regression, circling around March 2, 2024, 7:28 am. (CT)
Expected behavior
When a new VAMC Facility Health service is created, it is associated with a VAMC Facility. That related VAMC Facility should get a Revision log for the creation timestamp. This should happen when a new service is created related to the VAMC Facility, by way of the corresponding entity reference.
Current behavior in prod
When a new VAMC Facility Health Service is created, we suspect that it is somehow bypassing the normal process and is using the timestamp of the previous node revision rather than creating a new revision / timestamp.
Updated date not matching the revision log
Content view (/admin/content)
Palm Bay VA Clinic was updated on April 8, 2024
Recent changes
No April 8 revision is shown.
Comparing revisions
The only difference is the addition of a health service.
VAMC facility health service creation
The time at which the health service was created is the same time at which /admin/content lists the facility as being updated. The facility is updated when a new service is created that is related to it by way of the corresponding entity reference.
Acceptance Criteria
The text was updated successfully, but these errors were encountered: