Skip to content

Fix user confirm email already exists #11161

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

Conversation

Johnetordoff
Copy link
Contributor

@Johnetordoff Johnetordoff commented Jun 2, 2025

Purpose

If user email already existed the error was uncaught.

Changes

  • adds change to catch 400 error
  • adds test case.

QA Notes

Please make verification statements inspired by your code and what your code touches.

  • Verify
  • Verify

What are the areas of risk?

Any concerns/considerations/questions that development raised?

Documentation

Side Effects

Ticket

@Johnetordoff Johnetordoff changed the base branch from develop to feature/pbs-25-10 June 2, 2025 13:33
@Johnetordoff Johnetordoff marked this pull request as ready for review June 2, 2025 14:28
@brianjgeiger brianjgeiger merged commit dc09e8a into CenterForOpenScience:feature/pbs-25-10 Jun 2, 2025
6 checks passed
Johnetordoff added a commit to Johnetordoff/osf.io that referenced this pull request Jun 2, 2025
…cience/osf.io into feature/notification-refactor-phase-1

* 'feature/pbs-25-10' of https://github.com/CenterForOpenScience/osf.io:
  fix issue where trying another already confirmed email threw an uncaught exception (CenterForOpenScience#11161)
  [ENG-8148] Add ArtifactOutcome in annotations to linked nodes  (CenterForOpenScience#11158)
  [ENG-7966] Add "collected-in" relationship for Nodes (CenterForOpenScience#11140)
  fix issue where not having any external identities caused a 500

# Conflicts:
#	api_tests/nodes/views/test_node_detail.py
#	api_tests/nodes/views/test_node_linked_registrations.py
Johnetordoff added a commit to Johnetordoff/osf.io that referenced this pull request Jun 3, 2025
…cience/osf.io into add-new-notifications-data-model

* 'feature/pbs-25-10' of https://github.com/CenterForOpenScience/osf.io:
  fix issue where trying another already confirmed email threw an uncaught exception (CenterForOpenScience#11161)
  [ENG-8148] Add ArtifactOutcome in annotations to linked nodes  (CenterForOpenScience#11158)
Johnetordoff added a commit to Johnetordoff/osf.io that referenced this pull request Jun 3, 2025
…cience/osf.io into refactor-notifications

* 'feature/pbs-25-10' of https://github.com/CenterForOpenScience/osf.io:
  fix issue where trying another already confirmed email threw an uncaught exception (CenterForOpenScience#11161)
  [ENG-8148] Add ArtifactOutcome in annotations to linked nodes  (CenterForOpenScience#11158)
  [ENG-7966] Add "collected-in" relationship for Nodes (CenterForOpenScience#11140)
  fix issue where not having any external identities caused a 500
  [ENG-7965] Add v2 email token confirmation endpoints (CenterForOpenScience#11139)
  [ENG-8052] Fixed FilterMixin issue with multiple values of notification subscription field (CenterForOpenScience#11150)
  support related_counts for view_only links (CenterForOpenScience#11148)
  allow admins change registration providers (CenterForOpenScience#11145)
  [ENG-7927] Improved logging for embargo termination (CenterForOpenScience#11137)
  [ENG-7873] CLONE - SPAM - When Hamming a Spammed user, preprints and registrations remain private (CenterForOpenScience#11125)
  Update changelog and package.json
  fix TypeError when check stucked registration
  revert async email sending (CenterForOpenScience#11134)
  [ENG-7921] Add scopes for applications to full_read and full_write scopes (CenterForOpenScience#11126)

# Conflicts:
#	api_tests/nodes/views/test_node_detail.py
#	api_tests/nodes/views/test_node_linked_registrations.py
#	framework/auth/oauth_scopes.py
#	tests/test_registrations/test_retractions.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants