Skip to content

OBPIH-6660 Fix roles removal after submitting full outbound import ac…#4821

Merged
awalkowiak merged 1 commit intofeature/outbound-importfrom
OBPIH-6660
Sep 3, 2024
Merged

OBPIH-6660 Fix roles removal after submitting full outbound import ac…#4821
awalkowiak merged 1 commit intofeature/outbound-importfrom
OBPIH-6660

Conversation

@kchelstowski
Copy link
Collaborator

After latest changes to saving progress in full outbound import, there was one regression connected to the handleConfirmSubmitForm - the form values that are handled automaically were first parsed by the Zod schema, whereas the getValues() used in this method, were returning whole objects, in this case - instead of returning only id, name, label for a user and passing it to the backend, we were sending whole user object including roles, that were not parsed correctly.

@kchelstowski kchelstowski self-assigned this Sep 3, 2024
@github-actions github-actions bot added the domain: frontend Changes or discussions relating to the frontend UI label Sep 3, 2024
@awalkowiak awalkowiak merged commit 0ae6aea into feature/outbound-import Sep 3, 2024
@awalkowiak awalkowiak deleted the OBPIH-6660 branch September 3, 2024 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

domain: frontend Changes or discussions relating to the frontend UI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants