HomePhorge

Fix a Phortune bug where an invalid viewer could sometimes be selected for…

Description

Fix a Phortune bug where an invalid viewer could sometimes be selected for billing a subscription

Summary:
A live instance hit the scenario described in the comment, where an out-of-date user was being selected as the actor.

Since they were no longer an account member, they could not see the payment method and autopay was failing.

Instead, select a relatively arbitrary user who is a current, valid, non-disabled member.

Test Plan: Ran subscriptions with bin/worker execute ..., saw it select a valid actor.

Reviewers: chad

Reviewed By: chad

Differential Revision: https://secure.phabricator.com/D16757

Details

Provenance
epriestleyAuthored on Oct 26 2016, 3:02 PM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP0f800a3cd862: In Phabricator, drop PhutilClassMap caches after loading additional libraries
Branches
Unknown
Tags
Unknown

Event Timeline