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
F14054174: D13121.diff
Fri, Nov 15, 10:56 PM
F14052963: D13121.id31709.diff
Fri, Nov 15, 11:48 AM
F14050363: D13121.id31678.diff
Thu, Nov 14, 6:06 PM
F14048393: D13121.id31706.diff
Thu, Nov 14, 7:40 AM
F14048392: D13121.id31679.diff
Thu, Nov 14, 7:40 AM
F14048391: D13121.id31677.diff
Thu, Nov 14, 7:40 AM
F14048390: D13121.id31709.diff
Thu, Nov 14, 7:40 AM
F14048389: D13121.id31705.diff
Thu, Nov 14, 7:40 AM
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 6467
Build 6489: [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
350–352

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.