Skip to content

fix(forms): fix form edit deactivating forms in other groups

Ben Whitmore requested to merge inactive-forms-fix-20240123 into main

There is logic to deactivate other forms for a category whenever the active form is edited (or is made active). The problem was, this wasn't limited just to the current group: it deactivated forms across all groups. That meant that no active form could be found when subsequently visiting one of those groups. When no active submission form could be found, this caused errors to display on various pages.

Merge request reports