Collections call to users_of_interest fails for users where actor.usr.card is null
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Triaged
|
Undecided
|
Unassigned |
Bug Description
Unique Management reported to me that a pull of users_of_interest was failing.
Problem was determined to be when attempting to pull a list of users_of_interest where one of those users did not have a card value.
Background:
We discovered this after deleting a large batch of old/dead accounts. At least one account was subsequently retrieved by barcode and chaos insued while this deleted account was used. To rectify this, we removed the actor.card entry, as well as the actor.usr.card value. This caused the noted problem.
To rectify this, I've added to the SQL in the money.pm new_collections method, verifying that the actor.usr record was not deleted. I'm not sure if this is the best method to resolve this, but it was effective.
tags: | added: collections |
Specific change in money.pm of 2.1 /github. com/grpl- eg/rel_ 2_1/commit/ 185e85494ef1431 0ff43fb641ecc92 23997dfc1b
https:/