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

Fixed the issue with modify user. Removed validation for tenant #574

Merged
merged 5 commits into from
May 4, 2021

Conversation

anvithks
Copy link
Member

@anvithks anvithks commented Apr 6, 2021

What type of PR is this?
/kind bug fix

What this PR does / why we need it:
This PR fixes the issue of user unable to submit the modify user form.
The same form is used for create and modify user, using a conditional check to display the fields.
In the modify user form the tenant field is not shown but the validation of required was still applied. This rendered the form always invalid, even if all the fields in the modify form were correctly filled.
When the user clicks on modify, the required validation on tenant is not needed as the user cannot change the tenant.
The required validation is now removed and the user is now able to update and submit the modify user form.

Which issue(s) this PR fixes:
Fixes #565 #361

Test Report Added?:
/kind TESTED

Test Report:
modify-user-1
modify-user-2
modify-user-3
modify-user-4
modify-user-5

Special notes for your reviewer:

@anvithks anvithks self-assigned this Apr 6, 2021
@anvithks anvithks added the bug-fix Pull requests that are fixes for bugs found during testing. label Apr 6, 2021
@anvithks anvithks added this to the Iter1_J milestone Apr 6, 2021
Copy link
Collaborator

@kumarashit kumarashit left a comment

Choose a reason for hiding this comment

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

LGTM

@anvithks anvithks requested a review from NajmudheenCT April 27, 2021 07:25
Copy link
Collaborator

@skdwriting skdwriting left a comment

Choose a reason for hiding this comment

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

LGTM

@skdwriting skdwriting merged commit 61ec512 into sodafoundation:master May 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-fix Pull requests that are fixes for bugs found during testing.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Modify user does not work. After updating the details clicking on Ok in the modal does not do anything.
3 participants