[horizon] [fwaas] "Remove Rule" from a policy should be available only when rules are associated with the policy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Medium
|
chenhaiq |
Bug Description
Description
===========
Currently, when a firewall policy has no associated rules, the "Firewalls"
Error: Failed to remove rule from policy policy_test: 404-{u'
I'd expect:
i. The "Remove Rule" should appear in red font
ii. The "Save Changes" in the "Remove Rule from Policy" dialog should be grayed-out
iii. This operation should not lead to error, but to warning
iv. The error message is wrong anyway, it should be something like "No sssociated Firewall Rule could be found" instead of "Firewall Rule .json could not be found"
From the log file
=================
2013-11-20 09:39:48.467 26712 ERROR neutron.
2013-11-20 09:39:48.467 26712 TRACE neutron.
2013-11-20 09:39:48.467 26712 TRACE neutron.
2013-11-20 09:39:48.467 26712 TRACE neutron.
2013-11-20 09:39:48.467 26712 TRACE neutron.
2013-11-20 09:39:48.467 26712 TRACE neutron.
2013-11-20 09:39:48.467 26712 TRACE neutron.
2013-11-20 09:39:48.467 26712 TRACE neutron.
2013-11-20 09:39:48.467 26712 TRACE neutron.
2013-11-20 09:39:48.467 26712 TRACE neutron.
2013-11-20 09:39:48.467 26712 TRACE neutron.
2013-11-20 09:39:48.467 26712 TRACE neutron.
2013-11-20 09:39:48.467 26712 TRACE neutron.
Changed in horizon: | |
importance: | Undecided → Medium |
milestone: | none → icehouse-2 |
Changed in horizon: | |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | icehouse-2 → 2014.1 |
My env is havana on rhel.