Error When Changing Primary Address in Edit Mode

Description

Overview: Changing the primary address selection on the edit user page results in an error

Steps to repro:

  1. Log into folio testing

  2. Create a new user

  3. Give them 2 addresses

  4. Make the bottom one primary

  5. Save new user

  6. Edit new user by clicking edit icon to take you to full edit mode

  7. Select the other address as primary and deselect the current one

  8. Save record

Expected: Change should be saved without error

Actual: Attached error is shown

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

3

blocks

Checklist

hide

TestRail: Results

Activity

Show:

Michal Kuklis July 6, 2017 at 5:15 PM

Sounds good

Charlotte Whitt July 6, 2017 at 5:12 PM

Thanks I have re-done the manual test of steps 1-8 one more time, and created a new user called Vicky Wiki, user id vickwiki; and all looks good.

I'll close the issue as done.

Michal Kuklis July 6, 2017 at 2:51 PM

I was able to reproduce it and it looks like this happens when the user id is numeric. I created a separate issue for it here: https://folio-org.atlassian.net/browse/MODUSERS-27

Michal Kuklis July 6, 2017 at 12:30 PM
Edited

this looks to me like a server side issue related to saving the main user object (not addresses). This is a good find. I'm going to create a separate bug for it.

Michal Kuklis July 6, 2017 at 12:20 PM

Thank you for finding this ! I will review it now.

Done

Details

Assignee

Reporter

Priority

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created July 3, 2017 at 9:23 AM
Updated July 6, 2017 at 5:18 PM
Resolved July 6, 2017 at 5:18 PM
TestRail: Cases
TestRail: Runs