Skip to content

FOUR-29161 - Use correct context for notifications#8723

Open
nolanpro wants to merge 1 commit intodevelopfrom
bugfix/FOUR-29161
Open

FOUR-29161 - Use correct context for notifications#8723
nolanpro wants to merge 1 commit intodevelopfrom
bugfix/FOUR-29161

Conversation

@nolanpro
Copy link
Contributor

@nolanpro nolanpro commented Feb 5, 2026

Issue & Reproduction Steps

CSS Notification didn't clear because of bug in subscriber callback.

This was caused by df25a80

pushNotification: window.ProcessMaker.pushNotification,

Which removes the context from the method

Solution

  • Call the global object from inside the method to preserve context

How to Test

See jira issue

Related Tickets & 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.

@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