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
F15416429: D13108.diff
Thu, Mar 20, 11:01 AM
F15415525: D13108.diff
Thu, Mar 20, 6:26 AM
F15335499: D13108.diff
Sat, Mar 8, 3:59 PM
F15332762: D13108.diff
Fri, Mar 7, 8:05 PM
Unknown Object (File)
Feb 11 2025, 9:19 PM
Unknown Object (File)
Feb 10 2025, 9:36 AM
Unknown Object (File)
Jan 30 2025, 2:53 PM
Unknown Object (File)
Jan 28 2025, 9:17 PM
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.