Closed Bug 1480458 Opened 6 years ago Closed 6 years ago

Calendar list is empty when subscribing to new calendars

Categories

(Calendar :: Provider: GData, defect)

Lightning 5.4.8
defect
Not set
blocker

Tracking

(Not tracked)

RESOLVED FIXED
6.2.2.1

People

(Reporter: ngyvanminh, Assigned: Fallen)

References

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0
Build ID: 20180712150008

Steps to reproduce:

When i want to add a new google calendar in lightning, i select the gmail account and in the next screen the list is empty.
Thunderbird 52.9.1 64 bits, same issue on linux mint 19 and windows 10


Actual results:

Unable to select calendar or task to continue


Expected results:

On the debug screen :
[calGoogleCalendar] Request GET https://www.googleapis.com/tasks/v1/users/@me/lists responded with HTTP 200  gdataRequest.jsm:394:9
[calGoogleSessionManager] Reusing session batimex.sn@gmail.com  gdataSession.jsm:71:13
[calGoogleCalendar] Sorry, auto-refresh intervals under 30 minutes would cause the quota to be reached too fast.  calGoogleCalendar.js:82:17
TypeError: cal.view.hashColor is not a function[En savoir plus]  gdata-calendar-creation.js:180:47
Thanks for reporting - which version of Provider for Google do you use (look in TB's addons manager)?

Which other addons do you have installed? Does this also occur if you have any other addons except the Provider and Lightning disabled?
Flags: needinfo?(ngyvanminh)
I use the 4.4 version
Flags: needinfo?(ngyvanminh)
Can you please answer aldo the other questions from comment 2?
i have the same problem since i have install the last version (4.4).
versions
- thunderbird 52.9.1(32bits)
-Lightning (5.4.9.1)

other addons:
-gcontactSync (3.0.0)
Do you get any message in the error console when reproducing the issue?
This one seems relevant, looks like I missed in the backwards compat:

TypeError: cal.view.hashColor is not a function[En savoir plus]  gdata-calendar-creation.js:180:47
Severity: normal → blocker
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(philipp)
Summary: Cannot connect to google calendar with provider:gdata → Shim for cal.view.hashColor is missing
Attached patch Fix - v1 — — Splinter Review
Assignee: nobody → philipp
Status: NEW → ASSIGNED
Flags: needinfo?(philipp)
Attachment #8997385 - Flags: review?(makemyday)
Summary: Shim for cal.view.hashColor is missing → Calendar list is empty when subscribing to new calendars
Attachment #8997385 - Flags: approval-calendar-esr+
Attachment #8997385 - Flags: approval-calendar-beta+
Attachment #8997385 - Flags: review?(makemyday) → review+
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/006d715f0cbb
Add missing calUtils import for the gdata provider. r=MakeMyDay
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → 6.5
Attachment #8997385 - Flags: approval-calendar-beta+
hello,
i have install the last version (4.4.1) and the probleme is the same.
i am comeback withe version (3.3) and i can add a ggogle calendar.

the problem is the module don't ask the password for to be connected to the google account, for show the list of calendar.

sorry my english is not good.
sorry, it's strange.
i have uninstall the version 3.3 and install the version 4.4.1 an for look if i have some erreor in the error console.
and now it's working, i have the screen for writing the password.

but i have some message in the arror console too:
InvalidStateError: An attempt was made to use an object that is not, or is no longer, usable  textbox.xml:233
Un arbre non équilibré a été écrit en utilisant « document.write() » provoquant une nouvelle analyse de données provenant du réseau. Pour plus d’informations, consultez https://developer.mozilla.org/en/Optimizing_Your_Pages_for_Speculative_Parsing
Target Milestone: 6.2 → 6.2.1
I have Lightning 5.4.9.1 installed into Thunderbird 52.9.1 "release channel" and I'm seeing this error.
Do I need to change channel or something?
(In reply to Craig Emery from comment #14)
> I have Lightning 5.4.9.1 installed into Thunderbird 52.9.1 "release channel"
> and I'm seeing this error.
> Do I need to change channel or something?

I upgraded to beta / Tbird 60 & the bug *is* fixed.
Target Milestone: 6.2.1 → 6.2.2
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: