RSS Feed/News Purchase request not updated on user merge

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
24,700
Points
823

Reputation:

When a user is merged, xf_purchase_request.user_id doesn't appear to be updated when updating various records linking to that user.

So if a user starts a user upgrade, and the merge occurs before site callback; the user upgrade will get into a failed state as the user the upgrade applies to no longer exists (or partially exists depending on timings).

There is a ContentChange::$updates which is a list of tables to be updated during a change, but this appears vulnerable to a...

Read more

Continue reading...
 
Status
Not open for further replies.
Top