@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Issue a proper 404 when trying to edit nonexistent events

Summary: We'll fatal a little later here when trying to call methods. 404 instead.

Test Plan: Visited `/calendar/event/edit/9999999/` or similar.

Reviewers: btrahan, chad

Reviewed By: chad

Subscribers: epriestley

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

+3
+3
src/applications/calendar/controller/PhabricatorCalendarEventEditController.php
··· 47 47 PhabricatorPolicyCapability::CAN_EDIT, 48 48 )) 49 49 ->executeOne(); 50 + if (!$status) { 51 + return new Aphront404Response(); 52 + } 50 53 51 54 $end_time->setValue($status->getDateTo()); 52 55 $start_time->setValue($status->getDateFrom());