Closed Bug 476219 Opened 15 years ago Closed 15 years ago

Drag and drop of event works but MODIFICATION_FAILED dialog is shown

Categories

(Calendar :: Calendar Frontend, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ssitter, Assigned: Fallen)

References

Details

(Keywords: regression)

Attachments

(1 file)

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b3pre) Gecko/20090130 Calendar/1.0pre (BuildID: 20090130133638)

Steps to Reproduce:
1. Start Sunbird with new profile.
2. Switch to month view and create a new event with default values.
3. Drag and drop the new created event to a different day.

Actual Results:
Event is correctly moved to the target day. But an error dialog MODIFICATION_FAILED is displayed. Error Console shows:

Warning: There has been an error reading data for calendar: Home.  However, this error is believed to be minor, so the program will attempt to continue. Error code: DUPLICATE_ID. Description: ID already exists for addItem

Error: An error occurred when writing to the calendar Home! Error code: MODIFICATION_FAILED. Description: 
Source File: file:///.../calendar-js/calCalendarManager.js
Line: 896

Regression range: Works in Sunbird 1.0pre (2009-01-27-03-14-11)
                  Fails in Sunbird 1.0pre (2009-01-27-06-00-45)
                  
Checkins during regression range: https://hg.mozilla.org/comm-central/pushloghtml?startdate=2009-01-27+03:14:11&enddate=2009-01-27+06:00:45

Most probably regressed by Bug 416138.
Blocks: 416138
Flags: blocking-calendar1.0?
Flags: blocking-calendar1.0? → blocking-calendar1.0+
Looks like this fails in Sunbird only. It seems to work in Lightning + Thunderbird.
Attached patch Fix - v1 β€” β€” Splinter Review
Assignee: nobody → philipp
Status: NEW → ASSIGNED
Attachment #361815 - Flags: review?(ssitter)
Whiteboard: [needs review]
Attachment #361815 - Flags: review?(ssitter) → review+
Comment on attachment 361815 [details] [diff] [review]
Fix - v1

r=ssitter
Keywords: checkin-needed
Whiteboard: [needs review] → [needs checkin]
Pushed to comm-central <http://hg.mozilla.org/comm-central/rev/a558d14bc1fb>

-> FIXED
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Keywords: checkin-needed
OS: Windows XP → All
Hardware: x86 → All
Resolution: --- → FIXED
Target Milestone: --- → 1.0
Whiteboard: [needs checkin]
These bugs are likely targeted at Lightning 1.0b1, not Lightning 1.0. If this change was done in error, please adjust the target milestone to its correct value. To filter on this bugspam, you can use "lightning-10-target-move".
Target Milestone: 1.0 → 1.0b1
You need to log in before you can comment on or make changes to this bug.