Changing metadata in a user profile without specifying a password brings up a success and an error panel #3641
Labels
affects: main
Issue impacts "main" (latest release).
affects: 8.x
Issue impacts 8.x releases
bug
component: user profile
help wanted
Needs a volunteer to claim to move forward
ux
User Experience related works
Describe the bug
An Eperson can edit their user profile (not the researcher profile, just the EPerson's profile). They can change their name, telephone number, language (by the way, do we use the language for anything?) and in another section their password. To change the password one has to fill out fields for the old password and two fields for the new password. If the name, telephone number and/or language is changed but not the password DSpace shows a warning about a missing field and a panel to inform about the successful change of the profile. The changes are being stored. If you make changes and fill out the form for the old password, the warning doesn't come up.
If you try to change the password by filling out the both fields for the new password, leaving out the field for the old password, the same error is shown but the new password is not stored (as it should be). So this affects only the form section with the EPerson metadata.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
If no new password is specified, no error should show up, if the old password is missing.
The text was updated successfully, but these errors were encountered: