Closed Bug 1770276 Opened 3 years ago Closed 2 years ago

Storage calendar getItems() call does not return any items if disabled.

Categories

(Calendar :: Provider: Local Storage, defect)

defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: lasana, Unassigned)

References

(Regression)

Details

(Keywords: regression)

During bug 1770233 I noticed the storage calendar returns early if the calendar is disabled with empty results. That's a strange design decision because it means we cannot examine the contents of a disabled calendar programmatically without enabling it and causing side-effects. Furthermore it seems like we do not do the same with caldav calendars.

I'm not going to touch this yet because seems like this was done for perf reasons in bug 1658032 but this really should not be like this.

Assignee: lasana → nobody

I disagree. Disabled calendars are disabled.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.