1
Solved

"Invert regex" checkboxes gets unchecked everytime I do a change

Using Catlight v3, with the new Action Center / Groups etc ...

I have set up some selection rules, that use a "branch filter regex" and the "invert regex" checkbox.

The problem is that whenever I change a Selection Rule, the "invert regex" checkbox of other Selection Rules of other Lists get unchecked ... and I start seeing again in my dashboard some builds that shouldn't show up.

If I have several Selection Rules with the "invert regex" option, then it becomes impossible to use, because whenever I update and save, it loses the "other invert regex" ... and when I fix that other one, it resets the previous one :P

How to reproduce :

- create several Watch lists (in my case, "App - Dev" and "App-service - Dev")

- in "App - Dev" , add a selection rule with a branch regex and a "invert regex" option and save

- observe that the filtering is correct and the dashboard only shows build "not for that branch"

- no go to the other list "App-service - Dev"'s settins, and add a selection rule with also a "invert regex" option ... and save

- observe that the filtering is correct under "App-service - Dev" .... but now it's incorrect under "App - Dev"

- go back to settings of "App - Dev" and observe that the "invert regex" has been lost

image-1669202950614.png

image-1669203056663.png

image-1669203133590.png

2 replies

I should have specified this was using v3.0.16

Thanks for reporting the issue! It's fixed in 3.0.17

https://catlight.io/downloads 

Confirmed that it's fixed !

thanks a lot !