Open Bug 1199114 Opened 10 years ago Updated 3 years ago

Permission denied not correctly handled on offline-created events

Categories

(Calendar :: General, defect)

Lightning 4.0.2
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: sebastien-mozilla, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36 Steps to reproduce: Add a calendar (CalDAV in my case) on which you only have read permissions (without checking read-only in Lightning) Switch to offline mode Create an event on the calendar Switch back online Actual results: Event appears in cached calendar, when switching back online, event is still displayed, despite the fact of a 403 from server Lightning tries to synchronise the event on each sync run Expected results: When 403 is return, an error dialog should be displayed, indicating that permission was denied and asking if : - creation should be retried (in case of temporary configuration error) - event should be discarded - creation should be retried on a different calendar The same dialog should be used in online mode when a 403 is received since there is currently no feedback of the error (event is simply not created which is confusing for most users)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.