Skip to content

Conversation

@eiresendez
Copy link
Contributor

@eiresendez eiresendez commented Jan 22, 2026

Issue & Reproduction Steps

When importing a process with launchpad settings, the stored screen_id in process_launchpad.properties can point to a non‑existent screen in the new environment, causing a 404 on GET /api/1.0/screens/:id when opening /process-browser/{processId}.

Solution

  • Update ProcessLaunchpadExporter::import() to also set screen_id and screen_title based on the imported screen (in addition to screen_uuid).
  • Add coverage in ProcessLaunchpadExporterTest to assert the launchpad properties map to the new screen after import.

How to Test

  1. Run ./vendor/bin/phpunit --filter ProcessLaunchpadExporterTest
  2. Import a process with launchpad settings into a new environment and open /process-browser/{processId}.
  3. Confirm the launchpad screen loads and GET /api/1.0/screens/:id returns 200.

Related Tickets & Packages

ci:deploy

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.

Note

Ensures launchpad screen references are valid after import.

  • In ProcessLaunchpadExporter::import(), now sets screen_uuid, screen_id, and screen_title from the imported screen dependent
  • Updates ProcessLaunchpadExporterTest to assert launchpad properties point to the new process cancel screen and that saved search IDs are remapped

Written by Cursor Bugbot for commit eb782c5. This will update automatically on new commits. Configure here.

@vladyrichter
Copy link

QA server K8S was successfully deployed https://ci-f32690bc47.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.

3 participants