FOUR-14148 | A Screen Copied from a Project Does Not Appear in the Screen Listing by mcraeteisha · Pull Request #6234 · ProcessMaker/processmaker
Issue
Ticket: FOUR-14148
Within a Project, after copying a Screen Asset, the copy of the Screen does not display in the Screen listing.
Solution
Previously, Screens that were created as copies within a project were assigned an asset_type of Screen in the database. This assignment hid the copied Screens from the Screen listing.
When copying a Screen to a Project, the asset_type value is now set to null so that the new Screen appears in the Screen listing.
How to Test
- Go to branch
observation/FOUR-14148inprocessmaker. - Go to branch
observation/FOUR-14148inpackage-projects. - Go to Designer → Projects. Create a new Project.
- Add a Screen to the Project.
- Copy the Screen to the Project.
- Go to Screens.
- Search for your Screen copy in the Screen listing.
- The copied Screen should be listed among the other Screens that are available in your environment.
ci:next
ci:package-projects:observation/FOUR-14148
ci:deploy
Code Review Checklist
- I have pulled this code locally and tested it on my instance, along with any associated packages.
- This code adheres to ProcessMaker Coding Guidelines.
- This code includes a unit test or an E2E test that tests its functionality, or is covered by an existing test.
- This solution fixes the bug reported in the original ticket.
- This solution does not alter the expected output of a component in a way that would break existing Processes.
- This solution does not implement any breaking changes that would invalidate documentation or cause existing Processes to fail.
- This solution has been tested with enterprise packages that rely on its functionality and does not introduce bugs in those packages.
- This code does not duplicate functionality that already exists in the framework or in ProcessMaker.
- This ticket conforms to the PRD associated with this part of ProcessMaker.