[36258 ]Interstitial pages load twice by marcoAntonioNina · Pull Request #6469 · ProcessMaker/processmaker
Issue & Reproduction Steps
When you have a process with multiple thread levels and interstitial enabled, the interstitial is loaded twice.
Solution
- remove event
How to Test
In order to reproduce the problem you need to add a 2 second sleep to the file
ProcessMaker/Models/ProcessRequest.php
in the notifyProcessUpdated function before sending the event.
In this way a delay is created in the sending of the events.
create a case and then derive it to check that the interstitial is not loaded twice.
note:
- interstitial in a single process (enable interstitial in multiple assigned tasks)
- interstitial in a SubProcess (multiple levels in SubProcesses and enable interstitial in multiple assigned tasks)
- interstitial with WebEntry (enable interstitial on multiple assigned tasks)
- verification in the display of tasks (activate/deactivate the interstitial in several assigned tasks)
Related Tickets & Packages
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.
ci:screen-builder:bugfix/FOUR-14542
ci:deploy