Closed Bug 1595432 Opened 6 years ago Closed 10 months ago

Login information (username and password) for CalDAV Calendar will not save to Login Manager

Categories

(Calendar :: Provider: CalDAV, defect)

defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: harshad1, Unassigned)

References

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0

Steps to reproduce:

I added a CalDAV calendar (Provider was zoho) following the provider's instructions.

Upon adding the calendar I was presented with a prompt for a username and password. I entered my username (email) and password, and checked the remember password box. The calendar synced correctly.

I expected that the password would be saved and I would not have to enter my password the next time I launch Thunderbird.

Thunderbird version: 68.2.1
Lightning version: 68.2.1
OS: Manjaro linux

Additional information:
Issue seems to be related to theses message in logs:

Error: Can't add a login without a httpRealm or formSubmitURL. LoginManager.jsm:287:13
Assert failed: [Exception... "[JavaScript Error: "Can't add a login without a httpRealm or formSubmitURL." {file: "resource://gre/modules/LoginManager.jsm" line: 287}]'[JavaScript Error: "Can't add a login without a httpRealm or formSubmitURL." {file: "resource://gre/modules/LoginManager.jsm" line: 287}]' when calling method: [nsILoginManager::addLogin]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: resource://calendar/modules/utils/calAuthUtils.jsm :: passwordManagerSave :: line 434" data: yes]
calUtils.jsm:139
ASSERT resource://calendar/modules/calUtils.jsm:139
passwordManagerSave resource://calendar/modules/utils/calAuthUtils.jsm:438
promptAuth resource://calendar/modules/utils/calAuthUtils.jsm:248
onPromptStart resource://calendar/modules/utils/calAuthUtils.jsm:272
onPromptStartAsync resource://calendar/modules/utils/calAuthUtils.jsm:268
_promiseAuthPrompt jar:file:///usr/lib/thunderbird/omni.ja!/components/msgAsyncPrompter.js:26
_promiseAuthPrompt jar:file:///usr/lib/thunderbird/omni.ja!/components/msgAsyncPrompter.js:24
run jar:file:///usr/lib/thunderbird/omni.ja!/components/msgAsyncPrompter.js:49
InterpretGeneratorResume self-hosted:1284
AsyncFunctionNext self-hosted:839

Actual results:

When I launched thunderbird again, Lightning had not saved my password to the password manager (I checked the password manager).

Expected results:

My password should have been saved to the password manager and used the next time it was needed.

I can replicate this behavior on windows as well.

Component: General → Provider: CalDAV
Severity: normal → S3

harshad1,
Do you still see this in version 102?

Flags: needinfo?(harshad1)
Summary: Login information for CalDAV Calendar will not save to Login Manager → Login information (username and password) for CalDAV Calendar will not save to Login Manager
Status: UNCONFIRMED → RESOLVED
Closed: 10 months ago
Resolution: --- → WORKSFORME
Flags: needinfo?(harshad1)
You need to log in before you can comment on or make changes to this bug.