Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incident Report with repeated entry text #717

Open
wsanchez opened this issue Sep 28, 2022 · 1 comment
Open

Incident Report with repeated entry text #717

wsanchez opened this issue Sep 28, 2022 · 1 comment
Milestone

Comments

@wsanchez
Copy link
Member

Incident 1159 in the production 2022 event has the same text entered nine times.

Suddenly a need to delete report entries becomes potentially more compelling.

@srabraham
Copy link
Member

One solution would be to try to avoid adding duplicate rows to REPORT_ENTRY/INCIDENT__REPORT_ENTRY in the first place. For example, you could check the most recent entry for the given incident, and if its text and author are identical to the incoming one (and if the last row was made very recently), you could just silently not persist another row.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants