Closed Bug 352865 Opened 19 years ago Closed 19 years ago

event dialog doesn't warn when trying to move an item to a readonly calendar

Categories

(Calendar :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: mvl, Unassigned)

Details

Attachments

(1 file)

The event dialog lets you move a calendar to a readonly calendar, without any warning. Ofcourse, moving to readonly should not be possible
patch makes changing the item in the menulist also call updateAccept, which was already setup to warn on trying to move to a readonly calendar.
Attachment #238659 - Flags: second-review?(dmose)
Attachment #238659 - Flags: first-review?(mattwillis)
Comment on attachment 238659 [details] [diff] [review] check on change of menulist Nice catch. r1=lilmatt
Attachment #238659 - Flags: first-review?(mattwillis) → first-review+
Comment on attachment 238659 [details] [diff] [review] check on change of menulist Seems like the proper UI fix for this is that for events that are in writable calendars, don't show any readonly calendars in the menu. And for events that are in a readonly calendar, we should somehow be disabling that UI entirely, perhaps by making it a label instead of a menu. That said, this patch improves the status quo in a significant way, so r=dmose on it assuming that spinoff bug is filed on doing the right thing.
Attachment #238659 - Flags: second-review?(dmose) → second-review+
Since it prevents the worst dataloss case in bug 307556, making this block instead of that one.
Flags: blocking0.3+
Whiteboard: [needs checkin]
patch checked in
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
If you would have done review on bug 352247 this would have been fixed already ;-)
Whiteboard: [needs checkin]
verified with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060917 Calendar/0.3a2+
Status: RESOLVED → VERIFIED
Whiteboard: [litmus testcase wanted]
Litmus testcase 2694 created
Whiteboard: [litmus testcase wanted]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: