Skip to content

Thunderbird 91: move Folders in quickMove fails #211

Closed

Description

@staki1966

I have been using QuickFolders for quite some time. Recently I've been running TB78, but a couple of days ago I upgraded to 91.2.0. Since then, whenever I try to move folders, either by dragging them to the toolbar, or by Shift-M shortcut, the error "ReferenceError: toXPCOMArray is not defined".

TB error console shows

Exception in movefolder toXPCOMArray is not defined

it points to the following line in source:

let cs = Cc["@mozilla.org/messenger/messagecopyservice;1"].getService(Ci.nsIMsgCopyService), array = toXPCOMArray(folders, Ci.nsIMutableArray); // Tb 78

Activity

  1. RealRaven2000 commented on Oct 13, 2021

    @RealRaven2000
    Owner

    Thanks for raising this - this is definitely a regression caused by Thunderbird 92. They removed the already deprecated toXPCOMArray (which I call unnecessary for an array conversion) but also they also dropped the array-based function MailServices.copy.copyFolders (which still existed in earlier versions such as Tb 88) which is now replaced with the singular function MailServices.copy.copyFolder.

    Below is a test version with a quick fix:
    QuickFolders-mx-5.8pre42.zip

    To install this, download the zip file then drag it into Thunderbird Add-ons Manager. Please leave the issue open even if it solves the problem, I am closing all related bugs when I release the next official QuickFolders.

  2. RealRaven2000 commented on Oct 13, 2021

    @RealRaven2000
    Owner

    Added some refactoring + fixes for staying backwards compatible with Thunderbird 78:

    QuickFolders-mx-5.8pre46.zip

    To install, download the zip file and drag the file into Thunderbird Add-ons manager (do not unpack / extract the files).

  3. changed the title [-]Exception in movefolder after upgrade TB78 -> 91.2.0[/-] [+]Thunderbird 91: move Folders in quickMove fails[/+] on Oct 13, 2021
  4. RealRaven2000 commented on Oct 20, 2021

    @RealRaven2000
    Owner

    Fixed in 5.8.1 - Published 18/Oct/2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions