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

Unable to Update User Profile #3499

Open
aadhil2k4 opened this issue Jan 31, 2025 · 6 comments
Open

Unable to Update User Profile #3499

aadhil2k4 opened this issue Jan 31, 2025 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@aadhil2k4
Copy link
Contributor

Describe the bug
When attempting to update user profile details, an error message is displayed in a toast notification after clicking the "Save" button. The changes are not saved, and the profile remains unchanged.

To Reproduce
Steps to reproduce the behavior:

  1. Login as admin / user
  2. Navigate to the User Profile page.
  3. Modify any input field
  4. Click the Save button.
  5. Observe the toast error message

Expected behavior
The profile details should be updated and saved successfully. A success message should be displayed.

Actual behavior
The profile details do not update and a toast error message appears.

Screenshots
https://github.com/user-attachments/assets/29b0e190-f354-411c-8a6d-6b30f5aeef45

Potential internship candidates

Please read this if you are planning to apply for a Palisadoes Foundation internship

@aadhil2k4 aadhil2k4 added the bug Something isn't working label Jan 31, 2025
@Princekumarofficial
Copy link

I would like to work on this, can you please assign me this issue

@palisadoes
Copy link
Contributor

@aadhil2k4 do you want to work on this?

@aadhil2k4
Copy link
Contributor Author

@palisadoes yes, I want to work on this

@palisadoes
Copy link
Contributor

Please ask when creating the issue

@aadhil2k4
Copy link
Contributor Author

@palisadoes , the schema has an attribute "name", but the frontend and existing profile updation code has attributes "firstName" and "lastName", instead of "name". And some other attributes do not match too. Should i update the UI to accomodate the changes?

Image Image

@palisadoes
Copy link
Contributor

palisadoes commented Feb 9, 2025

The Web UI must accommodate the API fields

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
None yet
Development

No branches or pull requests

3 participants