dertinfo / dertinfo/dertinfo-api

[BUG] Setting up new event appears to have created activites twice

Open
#35 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C#
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**

On creating the event for DERT2025 it appears that the event has created 2 instances of the Team activities

It is unclear why it's done this as this appears to be a new problem.

On checking the database I see that is has created duplicated entries in the Activities table which is incorrect.

It also appears to have done the same with the email templates.

It has also done it wil settings

**To Reproduce**
Create a new DERT / Event.
Select the standard template
Look at the Team activities.

**Expected behavior**
Just created 1 instance of all the things.

I think the source of the bug is that the button on the client got hit twice and it's configured twice. I've rerun on staging and I haven't encountered the same problem.

We need to remove the potential for a double click on the setting up event screen. We have this capability in the solution it's just missing on that button.

**Screenshots**
![image](https://github.com/user-attachments/assets/04e60759-6b3e-4259-864d-96fb515fc6ed)

![image](https://github.com/user-attachments/assets/34339d02-70e3-41ff-88c6-90dabe5ffb10)

![image](https://github.com/user-attachments/assets/29a5cf1a-3aca-438c-8678-9d946e2d9252)

**Desktop (please complete the following information):**
N/A

**Smartphone (please complete the following information):**
N/A

**Additional context**

Workaround: Simply delete the duplicates using the interface.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.