-
Notifications
You must be signed in to change notification settings - Fork 10
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
BUG: Users are being created without a userId #10459
Comments
Some Investigation notes: I am seeing similar errors in the logs for a handful of these users. For the users that I looked into, I see that they are getting an error that their user already exists, even though they only first created their account. For the users with duplicate accounts, I believe that this is related to bug #10353. I was able to recreate this by adjusting this setting for my mouse, and I was able to duplicate this issue: Here are the logs from test. Notice I was able recreate it: To recreate, adjust your mouse settings to this: And you can see the results in Cognito. Two accounts created: Do we just need to disable the continue button after the first click? Seems this might be part of the problem? |
I'm updating #10353 with some findings that are relevant to this bug. |
Part of this is explained by #10353 (see comment thread there). The other part is explained by users who encountered errors on the old Cognito-hosted signup page. We will run a script to fix these users' accounts so that they can actually use DAWSON. |
@jimlerza Feel free to reassign this as needed now that you have a handle on it! |
Describe the Bug
Some users in production do not have a custom:userId attribute in cognito. This means that they have no userId when they log in and the system will crash. Below is a report of affected cognito users.
prod-users-no-custom-userId.txt
This issue may be related to bug #10353
Business Impact/Reason for Severity
Users are unable to log into the Dawson system
In which environment did you see this bug?
production
Who were you logged in as?
What were you doing when you discovered this bug? (Using the application, demoing, smoke tests, testing other functionality, etc.)
To Reproduce
Unknown how this bug is occurring. It can be confirmed that DAWSON is creating these malformed users.
Expected Behavior
All users get created and retain their custom:userId
Actual Behavior
Sometimes users are created without a userId or their userId is being removed.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Cause of Bug, If Known
Process for Logging a Bug:
Severity Definition:
Critical Defect
Blocks entire system's or module’s functionality
No workarounds available
Testing cannot proceed further without bug being fixed.
High-severity Defect
Affects key functionality of an application
There's a workaround, but not obvious or easy
App behaves in a way that is strongly different from the one stated in the requirements
Medium-severity Defect
A minor function does not behave in a way stated in the requirements.
Workaround is available and easy
Low-severity Defect
Mostly related to an application’s UI
Doesn't need a workaround, because it doesn't impact functionality
Definition of Ready for Bugs(Created 10-4-21)
Definition used: A failure or flaw in the system which produces an incorrect or undesired result that deviates from the expected result or behavior. (Note: Expected results are use cases that have been documented in past user stories as acceptance criteria and test cases, and do not include strange behavior unrelated to use cases.)
The following criteria must be met in order for the development team to begin work on the bug.
The bug must:
Process: If the unexpected results are new use cases that have been identified, but not yet built, new acceptance criteria and test cases should be captured in a new user story and prioritized by the product owner.
If the Court is not able to reproduce the bug, add the “Unable to reproduce” tag. This will provide visibility into the type of support that may be needed by the Court. In the event that the Court cannot reproduce the bug, the Court will work with Flexion to communicate what type of troubleshooting help may be needed.
Definition of Done (Updated 4-14-21)
Product Owner
Engineering
test
environment if prod-like data is required. Otherwise, deployed to anyexperimental
environment for review.The text was updated successfully, but these errors were encountered: