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
F13218319: D13121.id31679.diff
Sat, May 18, 11:45 AM
F13209155: D13121.id31709.diff
Thu, May 16, 10:12 PM
F13201896: D13121.id31708.diff
Tue, May 14, 6:04 PM
F13200000: D13121.id31703.diff
Mon, May 13, 8:44 PM
F13191354: D13121.id31709.diff
Sat, May 11, 7:46 PM
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
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
Branch
calendarcancelrecurring
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 6492
Build 6514: [Placeholder Plan] Wait for 30 Seconds

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.