Closed Bug 1702015 Opened 5 years ago Closed 5 years ago

accounts.list() api raises "malformed URI sequence" error

Categories

(Thunderbird :: Add-Ons: Extensions API, defect)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1707408

People

(Reporter: jon, Unassigned)

Details

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

Steps to reproduce:

Two users of my add-on have recently reported a problem that traces back to an exception being raised during messenger.accounts.list(). Any call to that API produces this bug on their systems. Windows Thunderbird versions 78.8 and 78.9.

Actual results:

The error message itself is malformed URI sequence ext-mail.js:1477, and the stack trace behind it is:

    map self-hosted:240
    folderURIToPath chrome://messenger/content/parent/ext-mail.js:1477
    convertFolder chrome://messenger/content/parent/ext-mail.js:1543
    traverseSubfolders chrome://messenger/content/parent/ext-mail.js:1565
    traverseSubfolders chrome://messenger/content/parent/ext-mail.js:1568
    traverseSubfolders chrome://messenger/content/parent/ext-mail.js:1568
    traverseSubfolders chrome://messenger/content/parent/ext-mail.js:1568
    convertAccount chrome://messenger/content/parent/ext-accounts.js:27
    list chrome://messenger/content/parent/ext-accounts.js:48
    list self-hosted:844
    result resource://gre/modules/ExtensionParent.jsm:996
    withPendingBrowser resource://gre/modules/ExtensionParent.jsm:602
    result resource://gre/modules/ExtensionParent.jsm:996
    callAndLog resource://gre/modules/ExtensionParent.jsm:958
    recvAPICall resource://gre/modules/ExtensionParent.jsm:995
    AsyncFunctionNext self-hosted:693

Expected results:

The api call should resolve to an array of 'account' objects.

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.