Closed
Bug 388283
Opened 18 years ago
Closed 18 years ago
minimonth needs refresh to display all days of a recurrence bold
Categories
(Calendar :: Calendar Frontend, defect)
Calendar
Calendar Frontend
Tracking
(Not tracked)
VERIFIED
FIXED
0.7
People
(Reporter: andreas.treumann, Assigned: Fallen)
Details
Attachments
(1 file)
5.53 KB,
patch
|
dbo
:
review+
|
Details | Diff | Splinter Review |
STEPS TO REPRODUCE:
===================
- create a daily recurrence
RESULT:
=======
- the minimonth shows only the first day of this events in bold
- clicking the minimonth updates the view
EXPECTED RESULT:
================
- all days of this recurrence should bold immediately
REPRODUCIBLE:
=============
- always
Reporter | ||
Updated•18 years ago
|
Summary: minimonth needs refresh to dislay all days of a recurrence bold → minimonth needs refresh to display all days of a recurrence bold
Assignee | ||
Comment 1•18 years ago
|
||
This patch fixes the minimonth for recurring events. This also required a change to the storage provider, since the notifier onModifyItem has always been called with an occurrences parentItem and the old occurrence. This patch changes to notify with the parentItem of both the new and old item.
Attachment #276616 -
Flags: review?(daniel.boelzle)
Updated•18 years ago
|
Status: NEW → ASSIGNED
Comment 2•18 years ago
|
||
Comment on attachment 276616 [details] [diff] [review]
Fix for recurring events
>Index: calendar/providers/storage/calStorageCalendar.js
>@@ -442,16 +443,17 @@ calStorageCalendar.prototype = {
> // Ensure that we're looking at the base item
> // if we were given an occurrence. Later we can
> // optimize this.
> if (aNewItem.parentItem != aNewItem) {
> aNewItem.parentItem.recurrenceInfo.modifyException(aNewItem);
> }
>
> aNewItem = aNewItem.parentItem;
>+ aOldItem = aOldItem.parentItem;
IMO a rather minimal invasive fix. With respect to coming offline sync, I'd favor a proper fix so that a modifyItem(newOccurrence, oldOccurrence) actually notifies the new *occurrence* to both calIObserver and calIOperationListener. But this should be a follow up bug; for now that mini fix makes the situation a little better.
rest is just fine, r=dbo
Attachment #276616 -
Flags: review?(daniel.boelzle) → review+
Assignee | ||
Comment 3•18 years ago
|
||
Checked in on HEAD and MOZILLA_1_8_BRANCH
-> FIXED
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Target Milestone: --- → 0.7
Comment 4•18 years ago
|
||
verified with
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.7pre) Gecko/20070818 Calendar/0.7pre
Status: RESOLVED → VERIFIED
Flags: in-litmus?
You need to log in
before you can comment on or make changes to this bug.
Description
•