Page MenuHomePhabricator

null pointer exception in PhabricatorPeopleWelcomeController
Closed, ResolvedPublic

Description

See https://discourse.phabricator-community.org/t/call-to-a-member-function-getmessagetext-on-null/2304

Not sure how to reproduce this, but in D19995#249483, null value may be returned when a PhabricatorAuthMessage is expected.

Revisions and Commits

Restricted Differential Revision
Restricted Differential Revision

Event Timeline

epriestley added a revision: Restricted Differential Revision.Jan 20 2019, 2:57 PM

Reproduction steps are:

  • On a fresh or recently updated install, don't go to Auth → Customize Messages → Welcome Email Body and customize the email body.
  • Try to welcome a user.

A workaround is:

  • Go to Auth → Customize Messages → Welcome Email Body and set any custom body (even an empty one).

But D20001 should fix this, I just goofed it up at the last second when I wanted to add an actual link to the custom message.

epriestley closed this task as Resolved by committing Restricted Diffusion Commit.Jan 20 2019, 3:00 PM
epriestley added a commit: Restricted Diffusion Commit.
epriestley added a commit: Restricted Diffusion Commit.