add alert-error in local_settings.py not work

Bug #1312499 reported by tinytmy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Low
Unassigned

Bug Description

add alert-error in HORIZON_CONFIG in local_settings.py., but it does not work, the error message is still exist until refresh the page.

'auto_fade_alerts': {
        'delay': 3000,
        'fade_duration': 1500,
        'types': ['alert-success', 'alert-info', 'alert-error']
    },

tinytmy (tangmeiyan77)
Changed in horizon:
assignee: nobody → tinytmy (tangmeiyan77)
Revision history for this message
Julie Pichon (jpichon) wrote :

Did you restart Apache after adding alert-error to the list? I just tested on a recent version of master and the alert does disappear within 3 seconds.

Changed in horizon:
status: New → Incomplete
Revision history for this message
tinytmy (tangmeiyan77) wrote :

I run the horizon with ./manager runserver 0.0.0.0:7777 and tested on a recent version of master.
I tested this bug in launching instance, when launch a instance error, after the instance spawn failure, it will report a error messages, although add alert-error to the list, it still exist.

tinytmy (tangmeiyan77)
Changed in horizon:
status: Incomplete → New
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/90873

Changed in horizon:
status: New → In Progress
Revision history for this message
Lennart Regebro (lregebro) wrote :

I can't reproduce this bug.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on horizon (master)

Change abandoned by tinytmy (<email address hidden>) on branch: master
Review: https://review.openstack.org/90873

Changed in horizon:
assignee: tinytmy (tangmeiyan77) → nobody
Changed in horizon:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/266406

Changed in horizon:
assignee: nobody → Rob Cresswell (robcresswell)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/266406
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=1b8783b47ab63838acfbfaada93c4bd6402ee8c5
Submitter: Jenkins
Branch: master

commit 1b8783b47ab63838acfbfaada93c4bd6402ee8c5
Author: Rob Cresswell <email address hidden>
Date: Tue Jan 12 14:40:47 2016 +0000

    Fix doc incorrectly specifying alert-error

    The settings doc specifies 'alert-error', when horizon uses
    'alert-danger'. This causes unexpected behaviour when altering
    HORIZON_CONFIG, such as alerts that don't fade (see bug report)

    Change-Id: I8e5f3e253db980700f6064264e985ea8cde759d4
    Closes-Bug: 1312499

Changed in horizon:
status: In Progress → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/horizon 9.0.0.0b2

This issue was fixed in the openstack/horizon 9.0.0.0b2 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.