Homec4science

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

Authored by epriestley <git@epriestley.com> on Oct 27 2016, 00:02.

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

Committed
epriestley <git@epriestley.com>Oct 27 2016, 00:54
Pushed
aubortJan 31 2017, 17:16
Parents
rPH0f800a3cd862: In Phabricator, drop PhutilClassMap caches after loading additional libraries
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH12d29d820672: Fix a Phortune bug where an invalid viewer could sometimes be selected for… (authored by epriestley <git@epriestley.com>).Oct 27 2016, 00:54