Bug 1583821 - Notification events are out of order
Summary: Notification events are out of order
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.8.0
Hardware: All
OS: All
high
medium
Target Milestone: GA
: 5.10.0
Assignee: Dávid Halász
QA Contact: Matouš Mojžíš
URL:
Whiteboard: ui:notification
Depends On:
Blocks: 1586213 1586214
TreeView+ depends on / blocked
 
Reported: 2018-05-29 19:10 UTC by Ryan Spagnola
Modified: 2021-09-09 14:17 UTC (History)
7 users (show)

Fixed In Version: 5.10.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1586213 1586214 (view as bug list)
Environment:
Last Closed: 2019-02-11 14:08:38 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ryan Spagnola 2018-05-29 19:10:14 UTC
Description of problem:
Continuation of this bz: https://bugzilla.redhat.com/show_bug.cgi?id=1479922

Notifications appear in order during session. After closing and opening UI the notifications are presented out of order

Version-Release number of selected component (if applicable):
5.8.2.3

How reproducible:
Always

Steps to Reproduce:
1. Perform an action that presents a notification. ex: enable Embedded Ansible
2. After both notifications appear close browser tab and open new 
3. click notification bell

Actual results:
latest notification is pushed to the bottom of the list

Expected results:
latest notification should remain at the top

Additional info:

Comment 2 Ryan Spagnola 2018-05-31 12:28:49 UTC
This can be easily reproduced by logging into an appliance that has pre-existing notifications. The sort order for older notifications will be oldest at the top.

Comment 4 CFME Bot 2018-05-31 17:35:33 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/b7f7ad2e2d3daa9c78ae6694bf0d6f59e3202cd8
commit b7f7ad2e2d3daa9c78ae6694bf0d6f59e3202cd8
Author:     Dávid Halász <dhalasz>
AuthorDate: Thu May 31 08:16:59 2018 -0400
Commit:     Dávid Halász <dhalasz>
CommitDate: Thu May 31 08:16:59 2018 -0400

    Render notifications fetched from the API in the correct order

    https://bugzilla.redhat.com/show_bug.cgi?id=1583821

 app/assets/javascripts/services/event_notifications_service.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 7 Matouš Mojžíš 2018-06-19 16:43:44 UTC
One time issue. Setting qe_test_coverage flag to -.

Comment 8 Matouš Mojžíš 2018-07-24 13:11:36 UTC
Verified in 5.10.0.4. Notification events are in order even after logout/login(close tab/login).


Note You need to log in before you can comment on or make changes to this bug.