FOUR-24135 | Saved Images Are Not Displayed in an Imported Screen Template - #9068
mcraeteisha wants to merge 3 commits into
Conversation
PR SummaryMedium Risk Overview
The Reviewed by Cursor Bugbot for commit 9141fd5. Bugbot is set up for automated code reviews on this repo. Configure here. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Want higher recall? High effort reviews run extra passes and find more bugs. A team admin can switch effort levels in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit a8b2baf. Configure here.
Prevent duplicate media when importing a screen template by clearing the existing media collection before adding new media.
|
QA server K8S was successfully deployed https://ci-3263370d0d.engk8s.processmaker.net |
eiresendez
left a comment
There was a problem hiding this comment.
Working as expected 👍 👍

Issue
Ticket: FOUR-24135
This PR resolves an issue where screen template export did not include thumbnail images stored in the template's media collection, so imported templates opened with empty settings previews.
Solution
ScreenTemplatesExporternow embeds those images in the export payload and recreates them on import underst-{uuid}-media, which is the collection the settings UI reads.How To Test
Automated
phpunit tests/Feature/Templates/Api/ScreenTemplateTest.php. Ensure all tests pass.Manual
ci:deploy
Code Review Checklist