Closed tomstarr closed 1 year ago
Dev in progress will act as workaround when released. For permanent fix I've raised issue 7613839651 to address root cause.
Dev work has now been completed to workaround this issue/s. The updates to toggleviyarules.py and applyviyarules.py will be tested during an Auth Model implementation this week, before being committed to the project.
changes committed, pending pull request #180.
When applyviyarules.py is run, all rules will be applied until one, which is being attempted to being applied, already exists, in which case the job will finish and no apply the remainder of the rules from the input CSV file.
This is an issue when trying to apply rules in a 'delta update' fashion.
applyviyarules.py should be updated to accommodate this scenario and to skip, rather than finish, when it encounters a rule that already exists.