library policy dashboard sometimes repeats policy rules

Bug #1784770 reported by Eric K
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
congress
Fix Released
High
Eric K

Bug Description

In library policy dashboard, sometimes the same rule is repeated multiple times, overwriting some subsequent rules. For example, in Policy Details: TagBasedNetworkSecurityZone, the first two rules displays as security_zone_tags('demo_zone'), security_zone_tags('demo_zone') rather than the correct security_zone_tags('demo_zone'), security_zone_tags('production_zone').

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to congress-dashboard (master)

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

Changed in congress:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to congress-dashboard (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/587683

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to congress-dashboard (master)

Reviewed: https://review.openstack.org/587682
Committed: https://git.openstack.org/cgit/openstack/congress-dashboard/commit/?id=7570aa4d41837495108fdf5b834966a31f9caf41
Submitter: Zuul
Branch: master

commit 7570aa4d41837495108fdf5b834966a31f9caf41
Author: Eric K <email address hidden>
Date: Tue Jul 31 21:07:08 2018 -0700

    Fix repeat ID problem in library policy display

    In library policy dashboard, sometimes the same rule is
    repeated multiple times, overwriting some subsequent rules.
    For example, in Policy Details: TagBasedNetworkSecurityZone,
    the first two rules displays as

    security_zone_tags('demo_zone'),
    security_zone_tags('demo_zone')

    rather than the correct

    security_zone_tags('demo_zone'),
    security_zone_tags('production_zone').

    This patch fixes the issue by making sure a distinct ID is
    assigned to each rule for django.

    Change-Id: I20d758ec4dffeaecf60f6c60c401bb08e359def5
    Closes-Bug: 1784770

Changed in congress:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/congress-dashboard 3.0.0.0rc1

This issue was fixed in the openstack/congress-dashboard 3.0.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to congress-dashboard (stable/queens)

Reviewed: https://review.openstack.org/587683
Committed: https://git.openstack.org/cgit/openstack/congress-dashboard/commit/?id=ad56e49471a0e78f2145cf660a46dd856c945481
Submitter: Zuul
Branch: stable/queens

commit ad56e49471a0e78f2145cf660a46dd856c945481
Author: Eric K <email address hidden>
Date: Tue Jul 31 21:07:08 2018 -0700

    Fix repeat ID problem in library policy display

    In library policy dashboard, sometimes the same rule is
    repeated multiple times, overwriting some subsequent rules.
    For example, in Policy Details: TagBasedNetworkSecurityZone,
    the first two rules displays as

    security_zone_tags('demo_zone'),
    security_zone_tags('demo_zone')

    rather than the correct

    security_zone_tags('demo_zone'),
    security_zone_tags('production_zone').

    This patch fixes the issue by making sure a distinct ID is
    assigned to each rule for django.

    Change-Id: I20d758ec4dffeaecf60f6c60c401bb08e359def5
    Closes-Bug: 1784770

tags: added: in-stable-queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/congress-dashboard 2.0.1

This issue was fixed in the openstack/congress-dashboard 2.0.1 release.

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.