Chandan Purushothama created CLOUDSTACK-3332:
------------------------------------------------
Summary: UI: NTier: Changes to the Rule Number of the ACL Rules
on changing the sequence on the UI is confusing.
Key: CLOUDSTACK-3332
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3332
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: UI
Affects Versions: 4.2.0
Reporter: Chandan Purushothama
Priority: Blocker
Fix For: 4.2.0
I specified a Rule with a Rule Number 23 in order to prioritize the rule as the
23rd Rule during the lifetime of the Rule's Existence. Just because I moved the
rule on the UI, the Rule Number of the rule got changed. The User is unaware of
such a change initiation on the Rule that he/she just declared. On many
occasions, the User is presented with Error messages saying the Rule number
already exists. This leaves the User in confusion
mysql> select * from network_acl_item where acl_id=3;
+----+--------------------------------------+--------+------------+----------+--------+----------+---------------------+-----------+-----------+--------------+-------------------+--------+--------+
| id | uuid | acl_id | start_port | end_port | state | protocol | created |
icmp_code | icmp_type | traffic_type | cidr | number | action |
+----+--------------------------------------+--------+------------+----------+--------+----------+---------------------+-----------+-----------+--------------+-------------------+--------+--------+
| 8 | 98929826-1902-4e96-80ad-5e50affa39f9 | 3 | 20 | 25 | Active | tcp |
2013-06-20 01:07:10 | NULL | NULL | Ingress | 10.223.110.232/32 | 2 | Allow |
| 9 | 86260b50-545d-45fb-805a-2862bdadd128 | 3 | 15 | 42 | Active | tcp |
2013-06-20 01:08:02 | NULL | NULL | Ingress | 10.223.195.103/32 | 1 | Allow |
| 10 | 675ac154-c59f-4442-a8cc-1a477b07ec37 | 3 | 37 | 98 | Active | tcp |
2013-06-20 02:38:21 | NULL | NULL | Ingress | 10.223.110.233/32 | 23 | Allow |
+----+--------------------------------------+--------+------------+----------+--------+----------+---------------------+-----------+-----------+--------------+-------------------+--------+--------+
3 rows in set (0.00 sec)
mysql> select * from network_acl_item where acl_id=3;
+----+--------------------------------------+--------+------------+----------+--------+----------+---------------------+-----------+-----------+--------------+-------------------+--------+--------+
| id | uuid | acl_id | start_port | end_port | state | protocol | created |
icmp_code | icmp_type | traffic_type | cidr | number | action |
+----+--------------------------------------+--------+------------+----------+--------+----------+---------------------+-----------+-----------+--------------+-------------------+--------+--------+
| 8 | 98929826-1902-4e96-80ad-5e50affa39f9 | 3 | 20 | 25 | Active | tcp |
2013-06-20 01:07:10 | NULL | NULL | Ingress | 10.223.110.232/32 | 2 | Allow |
| 9 | 86260b50-545d-45fb-805a-2862bdadd128 | 3 | 15 | 42 | Active | tcp |
2013-06-20 01:08:02 | NULL | NULL | Ingress | 10.223.195.103/32 | 3 | Allow |
| 10 | 675ac154-c59f-4442-a8cc-1a477b07ec37 | 3 | 37 | 98 | Active | tcp |
2013-06-20 02:38:21 | NULL | NULL | Ingress | 10.223.110.233/32 | 23 | Allow |
+----+--------------------------------------+--------+------------+----------+--------+----------+---------------------+-----------+-----------+--------------+-------------------+--------+--------+
3 rows in set (0.00 sec)
mysql> select * from network_acl_item where acl_id=3;
+----+--------------------------------------+--------+------------+----------+--------+----------+---------------------+-----------+-----------+--------------+-------------------+--------+--------+
| id | uuid | acl_id | start_port | end_port | state | protocol | created |
icmp_code | icmp_type | traffic_type | cidr | number | action |
+----+--------------------------------------+--------+------------+----------+--------+----------+---------------------+-----------+-----------+--------------+-------------------+--------+--------+
| 8 | 98929826-1902-4e96-80ad-5e50affa39f9 | 3 | 20 | 25 | Active | tcp |
2013-06-20 01:07:10 | NULL | NULL | Ingress | 10.223.110.232/32 | 1 | Allow |
| 9 | 86260b50-545d-45fb-805a-2862bdadd128 | 3 | 15 | 42 | Active | tcp |
2013-06-20 01:08:02 | NULL | NULL | Ingress | 10.223.195.103/32 | 3 | Allow |
| 10 | 675ac154-c59f-4442-a8cc-1a477b07ec37 | 3 | 37 | 98 | Active | tcp |
2013-06-20 02:38:21 | NULL | NULL | Ingress | 10.223.110.233/32 | 2 | Allow |
+----+--------------------------------------+--------+------------+----------+--------+----------+---------------------+-----------+-----------+--------------+-------------------+--------+--------+
3 rows in set (0.00 sec)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira