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)
Calendar
Provider: WCAP
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: andreas.treumann, Assigned: michael.buettner)
References
Details
Attachments
(1 file)
2.41 KB,
patch
|
michael.buettner
:
first-review+
|
Details | Diff | Splinter Review |
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
Comment 1•18 years ago
|
||
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?
Comment 2•18 years ago
|
||
- clone old item, because WCAP provider works on diff to old item
- js nit
Attachment #261452 -
Flags: first-review?(michael.buettner)
Assignee | ||
Comment 3•18 years ago
|
||
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+
Assignee | ||
Updated•18 years ago
|
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
Assignee | ||
Comment 4•18 years ago
|
||
patch checked in on trunk an MOZILLA_1_8_BRANCH
-> FIXED
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Flags: blocking-calendar0.5?
Resolution: --- → FIXED
Reporter | ||
Comment 5•18 years ago
|
||
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.
Description
•