Open
Bug 1402745
Opened 8 years ago
Updated 3 years ago
on moving a calendar tab: currentView(...) is undefined
Categories
(Calendar :: General, defect)
Tracking
(Not tracked)
NEW
People
(Reporter: guy, Unassigned)
References
Details
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0
Build ID: 20170816204344
Steps to reproduce:
I have intentionally or unintentionally (drag/drop out of the window header) removed the Lightning Calendar tab out of the Thunderbird main window.
Also, when popping the tab back into the main window, the calendar still does not function again.
Actual results:
The calendar becomes unusable: Using any UI navigation elements of the Lightning calendar fail (change of date, moving forward/backwards).
Expected results:
Normal operation of the Lightning Calendar with all UI elements. At least after re-attaching the calendar tab to the main window.
| Reporter | ||
Comment 1•8 years ago
|
||
The first two exceptions shown in the debug console when this happens:
```
TypeError: currentView(...) is undefined[Learn More] calendar-views.js:687:39
cal.navigationBar.setDateRange chrome://calendar/content/calendar-views.js:687:39
setDateRange chrome://calendar/content/calendar-multiday-view.xml:2891:15
goToDay chrome://calendar/content/calendar-views.xml:98:11
moveView chrome://calendar/content/calendar-views.xml:108:15
calendarController.doCommand chrome://calendar/content/calendar-common-sets.js:394:17
goDoCommand chrome://global/content/globalOverlay.js:100:7
oncommand chrome://messenger/content/messenger.xul:1:1
subprocess_unix/<.wait resource://enigmail/subprocess.jsm:1878:21
EnigmailHash.determineAlgorithm resource://enigmail/hash.jsm:72:7
PgpMimeEncrypt.prototype.beginCryptoEncapsulation file:///usr/share/xul-ext/enigmail/components/mimeEncrypt.js:169:15
GenericSendMessage chrome://messenger/content/messengercompose/MsgComposeCommands.js:3172:5
SendMessageWithCheck chrome://messenger/content/messengercompose/MsgComposeCommands.js:3311:3
defaultController.commands.cmd_sendWithCheck.doCommand chrome://messenger/content/messengercompose/MsgComposeCommands.js:731:9
defaultController.doCommand chrome://messenger/content/messengercompose/MsgComposeCommands.js:875:5
goDoCommand chrome://global/content/globalOverlay.js:100:7
oncommand chrome://messenger/content/messengercompose/messengercompose.xul:1:1
```
```
An error occurred executing the calendar_view_next_command command: [Exception... "[JavaScript Error: "currentView(...) is undefined" {file: "chrome://calendar/content/calendar-views.js" line: 687}]'[JavaScript Error: "currentView(...) is undefined" {file: "chrome://calendar/content/calendar-views.js" line: 687}]' when calling method: [nsIController::doCommand]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: chrome://global/content/globalOverlay.js :: goDoCommand :: line 100" data: yes] globalOverlay.js:103
goDoCommand chrome://global/content/globalOverlay.js:103:5
oncommand chrome://messenger/content/messenger.xul:1:1
subprocess_unix/<.wait resource://enigmail/subprocess.jsm:1878:21
EnigmailHash.determineAlgorithm resource://enigmail/hash.jsm:72:7
PgpMimeEncrypt.prototype.beginCryptoEncapsulation file:///usr/share/xul-ext/enigmail/components/mimeEncrypt.js:169:15
GenericSendMessage chrome://messenger/content/messengercompose/MsgComposeCommands.js:3172:5
SendMessageWithCheck chrome://messenger/content/messengercompose/MsgComposeCommands.js:3311:3
defaultController.commands.cmd_sendWithCheck.doCommand chrome://messenger/content/messengercompose/MsgComposeCommands.js:731:9
defaultController.doCommand chrome://messenger/content/messengercompose/MsgComposeCommands.js:875:5
goDoCommand chrome://global/content/globalOverlay.js:100:7
oncommand
```
| Reporter | ||
Comment 2•8 years ago
|
||
Forgot to mention: Restarting Thunderbird fixes the problem with the view.
Confirmed.
Steps to reproduce slightly different than bug 722353 comment 8 but it seems a very similar bug.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•7 years ago
|
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•