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

Nested user data not persisted in advanced registration form #2239

Closed
spwitt opened this issue May 2, 2023 · 1 comment
Closed

Nested user data not persisted in advanced registration form #2239

spwitt opened this issue May 2, 2023 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@spwitt
Copy link

spwitt commented May 2, 2023

Nested user data not persisted in advanced registration form

Description

Custom user data on an advanced registration form is not persisted if the base key already exists on user.data.

Affects versions

1.4.0+

Steps to reproduce

Steps to reproduce the behavior:

  1. Create application App A
  2. Create application App B
  3. Create form field user.data.foo.bar
  4. Create form field user.data.foo.baz
  5. Create an advanced registration form for App A that includes the user.data.foo.bar field
  6. Create an advanced registration form for App B that includes the user.data.foo.baz field
  7. Use self-service registration to create a new user for App A, filling out user.data.foo.bar
  8. Use self-service registration to register the user from (7) in App B, filling out user.data.foo.baz
  9. The user.data.foo.baz field is not populated on the User object

Expected behavior

  1. Both the foo.bar and foo.baz user data fields should be populated after the user has registered for each application.
  2. The user should not be allowed to complete registration if required fields are not populated

Platform

  • Device: Macbook Pro
  • OS: macOS
  • Chrome 112
  • PostgreSQL 15.2

Community guidelines

All issues filed in this repository must abide by the FusionAuth community guidelines.

@spwitt spwitt added the bug Something isn't working label May 2, 2023
@robotdan robotdan added this to Backlog in FusionAuth Issues via automation May 5, 2023
@spwitt spwitt moved this from Backlog to In progress in FusionAuth Issues May 25, 2023
@spwitt spwitt self-assigned this May 25, 2023
@spwitt spwitt added this to the 1.46.0 milestone May 25, 2023
@spwitt
Copy link
Author

spwitt commented May 25, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
FusionAuth Issues
  
Delivered
Development

No branches or pull requests

2 participants