You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(submission): retain username in _submitted_by after submitting user has been deleted DEV-1211 (#6430)
### 📣 Summary
Ensure that submissions remain attributed to their original submitter
even if the user account is deleted, and that the `_submitted_by` value
continues to persist correctly during edits and bulk updates.
### 📖 Description
Previously, deleting a user caused all their submissions to lose the
`_submitted_by` reference or even be deleted, depending on ownership.
This PR ensures that:
- Submissions made by a deleted user on non-owned projects are retained.
- The `_submitted_by` field correctly persists the username of the
deleted user.
- Editing or bulk-updating those submissions does not remove or
overwrite the existing `_submitted_by` value.
- Bulk and single validation status updates correctly reference the
original `_submitted_by` username.
0 commit comments