Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve 'version' is required when creating a process from template #5153

Merged
merged 1 commit into from Aug 15, 2023

Conversation

sanjacornelius
Copy link
Contributor

@sanjacornelius sanjacornelius commented Aug 14, 2023

Issue & Reproduction Steps

Ticket: FOUR-9962

Upon attempting to select a template for process creation, a 422 error is encountered, impeding the successful utilization of the chosen template to generate the process. This error disrupts the expected workflow and needs to be resolved promptly to enable seamless template-based process creation.

Solution

-Include the template version when creating a process from a template.

How to Test

  1. Within the Process Designer select '+ Process' button
  2. Select a template and select 'Use Template' button
  3. Fill out the form
  4. Select the 'save' button

Expected Behavior
A process is created from the template with no errors.

Related Tickets & Packages

  • Link to any related FOUR tickets, PRDs, or 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.

@estebangallego estebangallego self-requested a review August 15, 2023 00:08
Copy link
Contributor

@estebangallego estebangallego left a comment

Choose a reason for hiding this comment

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

Approved!

@ryancooley ryancooley merged commit 839fda7 into develop Aug 15, 2023
6 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants