actionDB returned the Unscoped instance of the action's session, whose conditions accumulate, so a bulk activate, deactivate or restore of two applicable rows wrote only the first (the second update matched "id = A AND id = B") while still counting it. A bulk deactivate therefore left the other administrators active and signed in (D-10, D-12). actionDB now ends with a plain Session, so every query starts anew. Found by TestAdministratorsLifecycle.
32 KiB
32 KiB