FOUR-14228 fIX Error on artisan processmaker:upgrade - web entry url fixer by caleeli · Pull Request #6274 · ProcessMaker/processmaker
Issue & Reproduction Steps
Error on artisan processmaker:upgrade - web entry url fixer.
This happens when the environment has a process that has a namespace prefix for http://www.omg.org/spec/BPMN/20100524/MODEL different to "bpmn"
Solution
- Register at Utils.php the prefix
bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL"
How to Test
- Import the attached process.
test.json - Make sure the
2024_02_07_113706_web_entry_url_fixerwas not previously executed (remove it from DB if necessary) - Run the upgrade command
php artisan upgrade
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:next