mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Each rule created in VNMC under a policy object needs to have an unique order value. Rules are evaluated based on this value. Eariler order was computed based on the rule count under a policy object. This resulted in duplicate order value when rules get deleted and recreated. Changed the logic to compute order based on the CS db id of the rule which is unique.