core icon indicating copy to clipboard operation
core copied to clipboard

Push Publish Integrity Checker Needs to Check More Fields

Open swicken-dotcms opened this issue 3 years ago • 1 comments

Problem Statement

When using the push publishing integrity checker to resolve folder conflicts does not update the theme on the template table, breaking any pages utilizing that theme

Related ticket: https://dotcms.zendesk.com/agent/tickets/109863

Steps to Reproduce

  1. Start up a dotCMS sender and receiver instance with demo data for push publishing
  2. Connect WebDAV to the sender instance, copy the theme 'travel' to another location on your computer
  3. Delete the theme travel on the sender
  4. Rename the folder on your computer travel to something else like 'travels'
  5. Use WebDAV to add the renamed folder to the sender (step 2-5 are to make it so the folder has a different deterministic ID)
  6. In dotCMS, rename the folder back to travel
  7. Run the integrity checker, it should identify the travel folder and its contents to be in conflict.
  8. Execute the fix on the remote (receiver)
  9. Check the remote, the folder ID will have changed but the template table will not, so you can no longer open pages or the template.

Acceptance Criteria

The integrity checkers execute fix function for folders should verify if the identifier for the folder exists in the theme column of the template table and update it when required.

dotCMS Version

23.01, 21.06.12

Proposed Objective

Code Maintenance

Proposed Priority

Priority 3 - Average

External Links... Slack Conversations, Support Tickets, Figma Designs, etc.

No response

Assumptions & Initiation Needs

No response

Sub-Tasks & Estimates

No response

swicken-dotcms avatar Jan 26 '23 18:01 swicken-dotcms

Added as feedback to Airfocus and assigned to Epic

mboutillette-dotcms avatar Apr 29 '25 21:04 mboutillette-dotcms