Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HMI does not take app priority into account for Alerts #512

Open
jacobkeeler opened this issue Apr 19, 2022 · 0 comments
Open

HMI does not take app priority into account for Alerts #512

jacobkeeler opened this issue Apr 19, 2022 · 0 comments

Comments

@jacobkeeler
Copy link
Contributor

Bug Report

If two apps attempt to present an Alert at the same time, the HMI will try to present both Alerts. The HMI should only present the Alert from the app with a higher priority value.

Reproduction Steps
  1. Register two apps with permissions for the Notifications group. App 1 with "priority": "NORMAL" and App 2 with "priority": "NAVIGATION"
  2. Activate App 1
  3. Activate App 2
  4. Send Alert from App 1
  5. Send Alert from App 2 while the first alert is being displayed
Expected Behavior

Original Alert should close and App 1 should get an ABORTED response

Observed Behavior

Both Alerts are displayed on top of each other, and both apps receive SUCCESS when these Alerts are closed

Browser & Version Information
  • Browser and Version: Google Chrome Version 100.0.4896.75
  • Generic HMI Version: master
  • Testing Against: RPC Builder App JS
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

No branches or pull requests

1 participant