Skip to content

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

@jacobkeeler

Description

@jacobkeeler

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions