FOUR-14342 Update process quietly in WebEntryUrlFixer upgrade by caleeli · Pull Request #6350 · ProcessMaker/processmaker

Issue & Reproduction Steps

The upgrade never finishes because it gets stuck in the web entry URL fixer migration.
This is caused because all the processes are being refreshed unnecessarily

Solution

There are 3 process observers in all ProcessMaker:

  • In core to: update events, self service, conditionals and bpmn validation
  • In data-sources: to disable non used Webhooks
  • In Ellucian: to updateEthosEvents

Non of them changes when the webentryRouteConfig.entryUrl is updated.

Based on that analysis the solution is:

  • Save process without firing events, as the webentryRouteConfig.entryUrl does not needed any additional update.

How to Test

  • Run the WebEntryUrlFixer upgrade 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:deploy