Setting task due date causes error 'gItemDuration is null' in calendar-event-dialog.js

RESOLVED FIXED in 1.0b3

Status

Calendar
Dialogs
RESOLVED FIXED
8 years ago
7 years ago

People

(Reporter: ssitter, Assigned: Decathlon)

Tracking

Trunk
1.0b3
x86
Windows 7

Details

Attachments

(1 attachment)

(Reporter)

Description

8 years ago
Lightning 1.0b4 (20110316) with Mozilla/5.0 (Windows NT 6.1; rv:2.0b13pre) Gecko/20110316 Thunderbird/3.3a4pre

Steps to reproduce:
1. start creating a new event
2. in the event dialog enable "Keep duration when changing end date" button
3. save and close the event
4. start creating a new task
5. enable due date and change it to some other value

Actual result:
the following error is logged several times:

  Error: gItemDuration is null
  Source file: chrome://calendar/content/calendar-event-dialog.js
  Line: 606

Expected result:
no error
(Reporter)

Comment 1

8 years ago
Decathlon, you added the "Keep duration when changing end date" feature with Bug 366139. Maybe you could take a look at this bug here?
(Assignee)

Comment 2

8 years ago
(In reply to comment #1)
> Decathlon, you added the "Keep duration when changing end date" feature with
> Bug 366139. Maybe you could take a look at this bug here?

Sure.
Assignee: nobody → bv1578
Status: NEW → ASSIGNED
(Assignee)

Comment 3

7 years ago
Created attachment 519861 [details] [diff] [review]
patch - v1

The patch should fix.
Attachment #519861 - Flags: review?(philipp)
Comment on attachment 519861 [details] [diff] [review]
patch - v1

r=philipp
Attachment #519861 - Flags: review?(philipp) → review+
Pushed to comm-central <http://hg.mozilla.org/comm-central/rev/60333c90441c>
-> FIXED
Status: ASSIGNED → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Trunk
(Reporter)

Comment 6

7 years ago
Wanted for comm-1.9.2? Same issue exists in Lightning 1.0b3pre.
Sure, why not. Setting checkin-needed for comm-1.9.2 until I'm back to a place where I have my keys with me.
Keywords: checkin-needed
comm-1.9.2 rev 3a2e39ec2826
Keywords: checkin-needed
(Reporter)

Updated

7 years ago
Target Milestone: Trunk → 1.0b3
You need to log in before you can comment on or make changes to this bug.