Ticket #38 (closed Defect: Software changed)
Several incorrect usages of Deferreds
| Reported by: | dreid@… | Owned by: | wsanchez@… |
|---|---|---|---|
| Priority: | 1: Blocker | Milestone: | CalendarServer-1.0 |
| Component: | Calendar Server | Severity: | Serious |
| Keywords: | Cc: | kurt.leubner@… | |
| Port: |
Description
These uses are of the pattern:
something = someDeferredFunction() assert something.called result = something.result # do things with the result
This works by accident only.
Change History
comment:1 Changed 7 years ago by wsanchez@…
- Priority changed from 5: Not set to 1: Blocker
- Milestone set to Preview 1
comment:2 Changed 7 years ago by wsanchez@…
I see two cases of this:
c = child.createCalendarCollection() assert c.called c = c.result
One in repository.py, and one in static.py. This is now on trunk, not on a branch, so we need to clean that up there.
comment:3 Changed 7 years ago by wsanchez@…
- Summary changed from users/cdaboo/acl-merge includes several incorrect usages of Deferreds to Several incorrect usages of Deferreds
comment:4 Changed 6 years ago by wsanchez@…
- Owner changed from cdaboo@… to wsanchez@…
I think I cleaned up the last of these with the directory auto-provisioning work.
comment:5 Changed 6 years ago by wsanchez@…
- Status changed from new to closed
- Resolution set to fixed
Note: See
TracTickets for help on using
tickets.

