Skip to content

Conversation

@sanjacornelius
Copy link
Contributor

@sanjacornelius sanjacornelius commented Jan 21, 2026

Issue & Reproduction Steps

This PR fixes an issue where the Launchpad button remained enabled while editing a process template in the Modeler. Clicking the button incorrectly redirected users to the Launchpad, allowing templates to be executed outside the context of a process.

To prevent this unintended behavior, the Launchpad button is now disabled whenever the Modeler is opened for a process template.

Solution

  • Added a conditional check to disable the Launchpad button in the Modeler when the process has is_template: true.

How to Test

  1. Create a process template.
  2. Navigate to Processes > Templates.
  3. Select Edit Template.
  4. In the Modeler, attempt to click the Launchpad button.

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

Disables Launchpad access when editing process templates in the Modeler.

  • In TopRail.vue, computes disableLaunchpad from window.ProcessMaker?.modeler?.process?.is_template and passes it to LaunchpadButton via :disabled
  • In LaunchpadButton.vue, adds disabled prop, guards click/mouseover/mouseleave handlers to no-op when disabled, binds native :disabled, and applies a no-hover class/style to remove hover effects

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

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

This PR is being reviewed by Cursor Bugbot

Details

Your team is on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle for each member of your team.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

@cypress
Copy link

cypress bot commented Jan 21, 2026

modeler    Run #1750

Run Properties:  status check passed Passed #1750  •  git commit fbb38385fa: Disable Launchpad Access When Editing Process Templates in Modeler
Project modeler
Branch Review bugfix/FOUR-27760
Run status status check passed Passed #1750
Run duration 06m 05s
Commit git commit fbb38385fa: Disable Launchpad Access When Editing Process Templates in Modeler
Committer Sanja
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 83
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 305
View all changes introduced in this branch ↗︎

@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.

2 participants