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)
Sun, Sep 15, 1:19 PM
Unknown Object (File)
Fri, Sep 13, 2:13 PM
Unknown Object (File)
Aug 24 2024, 11:19 PM
Unknown Object (File)
Aug 3 2024, 10:58 PM
Unknown Object (File)
Aug 3 2024, 8:39 AM
Unknown Object (File)
Jul 27 2024, 8:41 AM
Unknown Object (File)
Jul 25 2024, 11:04 PM
Unknown Object (File)
Jul 25 2024, 8:58 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.