Page MenuHomePhabricator

Edit link of an exception to a ghost event should not create new event
ClosedPublic

Authored by lpriestley on Jun 2 2015, 2:34 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 29, 7:06 AM
Unknown Object (File)
Wed, May 28, 6:30 AM
Unknown Object (File)
Tue, May 27, 2:46 PM
Unknown Object (File)
Tue, May 27, 10:11 AM
Unknown Object (File)
Mon, May 26, 9:32 AM
Unknown Object (File)
Wed, May 7, 3:52 AM
Unknown Object (File)
Tue, May 6, 3:46 PM
Unknown Object (File)
Mon, May 5, 3:22 AM
Subscribers

Details

Summary

Fixes T8382, Edit link of an exception to a ghost event should not create new event

Test Plan

Create recurring event, open ghost, edit, save, edit again. Should edit event created after first edit, not new event.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

lpriestley retitled this revision from to Edit link of an exception to a ghost event should not create new event.
lpriestley updated this object.
lpriestley edited the test plan for this revision. (Show Details)
lpriestley added a reviewer: epriestley.
epriestley edited edge metadata.
epriestley added inline comments.
src/applications/calendar/controller/PhabricatorCalendarEventViewController.php
137–139

Doesn't $event->getIsGhostEvent() imply these other two?

153

Doesn't !$event->getIsRecurring() imply !$event->getIsGhostEvent()?

This revision is now accepted and ready to land.Jun 2 2015, 2:13 PM
src/applications/calendar/controller/PhabricatorCalendarEventViewController.php
154

Oh, doesn't $event->getInstanceOfEventPHID() imply $event->getIsRecurring()?

lpriestley edited edge metadata.

Simplifying conditions for figuring out edit label on recurring events

This revision was automatically updated to reflect the committed changes.