Comment 2 for bug 1786534

Revision history for this message
Michele Morgan (mmorgan) wrote :

I was not able to discover how this is happening via the web client, but I tested this fix using srfsh calls. Without the fix, the following srfsh command results in a patron record with NULL card and deleted = true as Jason describes.

srfsh# request open-ils.cstore open-ils.cstore.json_query.atomic {"from":["actor.usr_merge",2261502,2261502,"f","f","f"]}

After applying the fix, and attempting the srfsh command with a different usr id, the usr record is unedited. My signoff branch is at:

http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/mmorgan/lp1786534_no_merging_user_with_itself_signoff