storage provider always returns Occurrences

RESOLVED FIXED

Status

Calendar
Provider: Local Storage
RESOLVED FIXED
13 years ago
13 years ago

People

(Reporter: Jeremy Teo, Assigned: vlad)

Tracking

Details

Attachments

(1 attachment)

(Reporter)

Description

13 years ago
User-Agent:       Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.7.6) Gecko/20050301 Firefox/1.0.1
Build Identifier: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.7.6) Gecko/20050301 Firefox/1.0.1

for getItems(), providers should only return Occurrences (also known as
recurrences) when requested by the caller. The storage provider -always- returns
Occurrences, breaking in particular the unifinder, which in its current
incarnantion only wants events, and not their occurrences

Reproducible: Always

Steps to Reproduce:
1. Start a calendar built from trunk, using a calendar that is local (storage)
2. Create an event that recurrs forever
3. Select "All Events" in the unifinder

Actual Results:  
The unifinder tries to load an infinite number of items

Expected Results:  
For "All Events", the unifinder should only show the first occurrence, as per
bug #285033

Comment 1

13 years ago
Created attachment 177359 [details] [diff] [review]
Fix the occurence issue

This patch fixes the issue.

Updated

13 years ago
Attachment #177359 - Flags: first-review?(vladimir)
Comment on attachment 177359 [details] [diff] [review]
Fix the occurence issue

r=vladimir, checked in. thanks!
Attachment #177359 - Flags: first-review?(vladimir) → first-review+
Status: UNCONFIRMED → RESOLVED
Last Resolved: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.