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

Bugfix/edit profile form #254

Open
wants to merge 10 commits into
base: development
Choose a base branch
from

Conversation

atharv02-git
Copy link

Description

This pull request is about an attempt to fix a bug in the edit-profile-form component. It includes the addition of log lines to investigate the issue further and identify the root cause. The bug relates to the creation and updating of user profiles after clicking on "save profile" button, which appears to be a backend issue.
Additionally, implemented a scrollable feature in the form to ensure the "Save Profile" button is visible without minimizing the window size.
I have documented my debugging process here.

Fixes # (issue)
Upon filling the user details and clicking the "Save Profile" button, the component fails to add the staff member, showing a 405 error.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

You can test this by login as "aadmin", navigate to manage users > Add New User > Enter User details > Save Profile, On clicking the save profile, button does not add the staff member.

Testing Checklist:

  • Tested in latest Chrome
  • Tested in latest Safari
  • Tested in latest Firefox

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant