Project

General

Profile

« Previous | Next » 

Revision f92e695a

Added by David Davis about 4 years ago

Fixes #19927 - Drop and readd rules when importing filters

This is a change to the way we handle filter rules. Basically, there is
no way to ensure uniqueness among filter rules so updating rules isn't
possible. The package filter rule has a unique check but it simply
checks ALL fields to see if the rule exists already. This doesn't really
allow for matching though since any field change would constitute a new
rule. Since we're importing/updating filters and not rules, I think
dropping the rules and recreating them is the best way to handle
updates.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences