Skip to content

FOUR-32476: Improve DevLink installation errors - #8987

Open
eiresendez wants to merge 1 commit into
developfrom
task/FOUR-32476
Open

FOUR-32476: Improve DevLink installation errors#8987
eiresendez wants to merge 1 commit into
developfrom
task/FOUR-32476

Conversation

@eiresendez

@eiresendez eiresendez commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Issue & Reproduction Steps

A DevLink update or reinstall fails when a bundled Dashboard references a Display Screen that was deleted from the source instance. The installation modal exposes a technical exception instead of an actionable message.

To reproduce:

  1. Create a Display Screen and assign it to a Dashboard.
  2. Add the Dashboard to a bundle through the ui_dashboards setting and publish it.
  3. Delete the Display Screen.
  4. Install or update the bundle from a linked instance.

Solution

  • Translate structured remote dependency validation responses into actionable DevLink errors.
  • Preserve known validation messages and the operation ID in installation events.
  • Sanitize unexpected remote and local failures so PHP classes, stack traces, and raw HTTP responses are not displayed.
  • Keep the complete exception and correlation details in the server logs.
  • Prevent creation of a partial installed bundle when remote validation fails.

How to Test

  • Repeat the reproduction steps and verify the modal identifies the Dashboard and asks for a valid Display Screen.
  • Verify no PHP class, stack trace, or raw HTTP response is displayed.
  • Verify unexpected failures show a safe generic message while server logs retain the technical details.
  • Verify no partial bundle is created on the target instance.
  • The focused core suites passed locally: 65 tests and 220 assertions.

Related Tickets & Packages

ci:deploy
ci:package-dynamic-ui:task/FOUR-32476

.

@processmaker-sonarqube

Copy link
Copy Markdown

@eiresendez

Copy link
Copy Markdown
Contributor Author
Screenshot 2026-08-12 at 10 18 19 a m

@eiresendez
eiresendez requested a review from mcraeteisha August 12, 2026 16:48
@eiresendez eiresendez self-assigned this Aug 12, 2026
@nolanpro

Copy link
Copy Markdown
Contributor

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

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.

3 participants