Page MenuHomePhabricator

Cancelled recurring events should propogate to real child events
ClosedPublic

Authored by lpriestley on Jun 2 2015, 3:51 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, May 7, 5:31 AM
Unknown Object (File)
Fri, May 3, 3:12 AM
Unknown Object (File)
Mon, Apr 29, 2:41 PM
Unknown Object (File)
Thu, Apr 25, 5:56 PM
Unknown Object (File)
Wed, Apr 24, 10:43 PM
Unknown Object (File)
Sun, Apr 21, 5:29 PM
Unknown Object (File)
Sat, Apr 13, 5:33 PM
Unknown Object (File)
Apr 8 2024, 5:42 PM
Subscribers

Details

Summary

Ref T8371, Cancelled recurring events should propogate to real child events

Test Plan

Create recurring event, create and exception to a ghost event, cancel recurring event, real ghost event should be treated as cancelled while the recurring event remains cancelled.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

lpriestley retitled this revision from to Cancelled recurring events should propogate to real child events.
lpriestley updated this object.
lpriestley edited the test plan for this revision. (Show Details)
lpriestley added a reviewer: epriestley.
lpriestley edited edge metadata.

Attempting to optimize getting parent events

making use of lazy evaluation

cleaning up lint complaints

Ghost exceptions were not being unset before this.

queries with no recurring events should not produce error.

not filtering out ghost events.

Fix problems with editing ghost events

epriestley edited edge metadata.
epriestley added inline comments.
src/applications/calendar/storage/PhabricatorCalendarEvent.php
351–353

This is never possible -- we either have a parent event or this throws because one wasn't attached.

This revision is now accepted and ready to land.Jun 3 2015, 2:42 AM
lpriestley edited edge metadata.

addressing code review

This revision was automatically updated to reflect the committed changes.