Closed Bug 377141 Opened 18 years ago Closed 18 years ago

[Proto] Invitations dialog: Accept or Decline an invitation -> state isn't saved

Categories

(Calendar :: Provider: WCAP, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: andreas.treumann, Assigned: michael.buettner)

References

Details

Attachments

(1 file)

STEPS TO REPRODUCE: =================== - open the invitations dialog - accept or decline one of your invitations - restart TB RESULT: ======= - the counter shows the old number of invitations EXPECTED RESULT: ================ - the counter shows n-1 invitations REPRODUCIBLE: ============= - always
In general, accepting/declining WCAP invitations currently doesn't work, because the attendee cloning (e.g. X-attribs) still hasn't been fixed. There is bug 358498 which has two patches I had submitted which both fix that problem. I would suggest to take patch 250846 "fixing rsvp and cloning" leaving the API "as is" (i.e. rsvp is still modelled as bool). That patch actually had been reviewed, but hadn't been in because of ongoing API discussion (undefining RSVP etc).
Status: NEW → ASSIGNED
Flags: blocking-calendar0.5?
Attached patch clone old itemSplinter Review
- clone old item, because WCAP provider works on diff to old item - js nit
Attachment #261452 - Flags: first-review?(michael.buettner)
Depends on: 358498
Comment on attachment 261452 [details] [diff] [review] clone old item >- var newCalendarItem = (oldCalendarItem.isMutable) >- ? oldCalendarItem : oldCalendarItem.clone(); >+ var newCalendarItem = oldCalendarItem.clone(); This is exactly the same problem I had with the event dialog. Conditionally cloning the item opens up the problem for providers relying on the difference between old and new item. I fixed it the same way, just always clone() to ensure the right difference. r=mickey. I'd like to take this one for 0.5 since otherwise the WCAP invitation feature it pretty unusable.
Attachment #261452 - Flags: first-review?(michael.buettner) → first-review+
Summary: [Proto] Ivitations dialog: Accept or Decline an invitation -> state isn't saved → [Proto] Invitations dialog: Accept or Decline an invitation -> state isn't saved
patch checked in on trunk an MOZILLA_1_8_BRANCH -> FIXED
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Flags: blocking-calendar0.5?
Resolution: --- → FIXED
I checked this in the latest nightly builds -> task is fixed and verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: