I’m submitting a…
- [x] Regression (a behavior that stopped working in a new release)
Current behavior
When upgrading from v6.7 to v7.7 we notices a few things missing in the rules area UI.
- The rule count of all rules seem to have been reset.
- The rule count updates by 2 every time a rule is run.
- The “Last Executed” date is no longer visible.
Expected behavior
- Rule counters persist across upgrades.
- Rule counters update by one each run.
- Rules show a “Last Executed” date.
Minimal reproduction of the problem
- Run 6.7
- Execute some rules
- Upgrade to 7.7
- Rule counts will be wiped, last executed removed
- Execute some rules
- Rule count will be double the expected value.
Environment
- [x] Self hosted with docker
Version: 6.7 & 7.7
Browser:
- [x] Chrome
Others:
It appears that these are related to some changes being made to the rules system and we want to check which are intentional and if any of them are bugs or unintentional changes?
- Could the rule count be migrated from the old storage location to the new storage location via a DB upgrade.
- This one seems to be a bug as commenting out one of the two calls to
usageTracker.TrackAsync
inUsageGate.Rules.cs
seems to solve it. - This seems to have been specifically removed. We’d probably look to re-add it in our version as users like it but would be interested if it’s been removed for a reason that we’ve missed.
Many Thanks
Simon