Skip to content

Conversation

@eiresendez
Copy link
Contributor

@eiresendez eiresendez commented Jan 27, 2026

Issue & Reproduction Steps

Saving a process with an empty owner caused a server error because processes.user_id is not nullable.

Solution

  • Added a ProcessUpdateRequest FormRequest to validate updates and require user_id when provided.
  • Switched ProcessController@update to use the FormRequest instead of inline validation.
  • Added a generic 422 alert in the process edit UI to surface validation errors to the user.

How to Test

  1. Open any process and clear the “Process Owner”.
  2. Click Save.
  3. Verify you see a validation alert and an inline error and no server error occurs.
  4. Set a valid owner and save again; confirm it saves successfully.

Related Tickets & Packages

ci:deploy

@vladyrichter
Copy link

QA server K8S was successfully deployed https://ci-66e8962f63.engk8s.processmaker.net

@processmaker-sonarqube
Copy link

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

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