Skip to content

FOUR-14228 fIX Error on artisan processmaker:upgrade - web entry url fixer#6274

Merged
ryancooley merged 1 commit intonextfrom
bugfix/FOUR-14228
Feb 23, 2024
Merged

FOUR-14228 fIX Error on artisan processmaker:upgrade - web entry url fixer#6274
ryancooley merged 1 commit intonextfrom
bugfix/FOUR-14228

Conversation

@caleeli
Copy link
Copy Markdown
Contributor

@caleeli caleeli commented Feb 23, 2024

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

  1. Import the attached process.
    test.json
  2. Make sure the 2024_02_07_113706_web_entry_url_fixer was not previously executed (remove it from DB if necessary)
  3. 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

@processmaker-sonarqube
Copy link
Copy Markdown

@eiresendez eiresendez self-requested a review February 23, 2024 14:49
Copy link
Copy Markdown
Contributor

@eiresendez eiresendez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested it manually - I see no issues! Great fix!

@ryancooley ryancooley merged commit 0a9977c into next Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants