[RTFACT-16036] Distribution Rules Not updated when saved Created: 06/Mar/18  Updated: 25/Apr/18  Resolved: 15/Mar/18

Status: Resolved
Project: Artifactory Binary Repository
Component/s: Distribution Repository
Affects Version/s: 5.9.1
Fix Version/s: 5.10.0

Type: Bug Priority: Normal
Reporter: Dudi Morad Assignee: Dudi Morad
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
is duplicated by RTFACT-16467 Changes made to rules in Distribution... Resolved
Assigned QA: Saffi Hartal (Inactive)


When changing one of the rules inside distribution repos(not the 'name' attribute) and saving the changes is not saved,

repro steps:
1. create distribution repo
2. change one of the rules attributes (ex repo path, not the 'name' attribute)
3. save changes
4. enter the same rule you updated and notice the old value.

when calling equals on DistributionRule we checking only the name attribute therefore the diff mechanism not seeing the difference in the rules

Generated at Wed Sep 18 00:53:04 UTC 2019 using JIRA 7.6.3#76005-sha1:8a4e38d34af948780dbf52044e7aafb13a7cae58.