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

JM- (SPARCRequest & SPARCDashboard) Duplicate Study Types found in Pr… #1179

Merged
merged 1 commit into from Nov 17, 2017

Conversation

jwiel86
Copy link
Contributor

@jwiel86 jwiel86 commented Nov 6, 2017

…otocol 11472 [#152547633]
https://www.pivotaltracker.com/story/show/152547633
Production Bug (#152403697) led to the discovery of bad data.
See screenshots below.
In Dashboard --> View Study Details, you can see under "Study Types" that "Basic Science" is displayed twice. This is also shown in the database.
Figure out how this was able to happen in the first place.
UPDATE:
Andrew mentioned that he'd seen this happen before when users would click multiple times on the Submit button. I tested this theory in Dashboard --> Edit Study and Proper --> Edit Study and he was correct.
I've fixed it so that after the first click, the button is disabled and "Saving..." appears as the button text along with a disabled icon next to the mouse. This should prevent bad data from being saved.

Copy link
Contributor

@kayla-glick kayla-glick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question: Is the bad data being deleted manually?

@Stuart-Johnson Stuart-Johnson merged commit b7b1871 into v3.1.0 Nov 17, 2017
@Stuart-Johnson Stuart-Johnson deleted the jm_duplicate_study_types branch November 17, 2017 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants