"Download Now" double click causes exception. Repair Folder / "Rebuild Index" & "Download Now" fails "... other operation is using the folder" (failure code:0x8055000a[nsIMsgFolder.downloadAllForOffline],folderProps.js::onOfflineFolderDownload::line 366)

NEW
Unassigned

Status

--
minor
10 years ago
7 years ago

People

(Reporter: World, Unassigned)

Tracking

(Blocks: 1 bug)

Bug Flags:
blocking-thunderbird3 -
wanted-thunderbird3 +

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [student-project])

(Reporter)

Description

10 years ago
If "Download Now" is double clicked, exception occurs.
(Emulation of "Download Now" while auto-sync or other "Download Now" is running)
"Rebuild Index" & "Download Now" fails with "... other operation is using the folder" (failure code : 0x8055000a [nsIMsgFolder.downloadAllForOffline], folderProps.js :: onOfflineFolderDownload :: line 366)

[ Build Id ]
> Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1pre) Gecko/20090625 Shredder/3.0b3pre

[ Steps to produce ]
(1) Double click "Download Now" of Folder Properties/Synchronization
    => Next alert is displayed
> (A)    
> Alert
>  ! The operation failed because an other operation is using the folder.
>    Please wait for that operation to finish and then try again.
>                                       [ OK ]
(2) Reply "OK" to the alert
    => Next exception is reported to Error Console
> (B)
> Error: uncaught exception: [Exception... "Component returned failure code:
> 0x8055000a [nsIMsgFolder.downloadAllForOffline]"  nsresult: "0x8055000a (<unknown>)"
> location: "JS frame :: chrome://messenger/content/folderProps.js :: onOfflineFolderDownload :: line 366"  data: no]
(3-1) Click(single click) of "Rebuild Index" of Folder Properties/General
      => Alert of (A). No exception when "OK" reply.
(3-2) Click(single click) of "Download Now" of Folder Properties/Synchronization
    => Alert of (A). Exception of (B) when "OK" reply.
(4) (3-1)/(3/2) occurs for the folder until restart of Tb.
I've hit what's probably the same underlying bug when doing various autoconfig testing; I suspect this wants to block Tb3.
Flags: blocking-thunderbird3?
Annoying, but there's no real bad sideeffect, so not blocking.  Would be fine to fix.
Flags: blocking-thunderbird3? → blocking-thunderbird3-
Suggested fix:

When download now button is hit, use new URLlisteners for download now to disable the button while downloading is in progress.
Flags: wanted-thunderbird3+
Whiteboard: [student-project]
causes no operational failure or performance hit, so minor
Severity: normal → minor
OS: Windows XP → All
Summary: If "Download Now" is double clicked, exception occurs. "Rebuild Index" & "Download Now" fails with "... other operation is using the folder" (failure code:0x8055000a[nsIMsgFolder.downloadAllForOffline],folderProps.js::onOfflineFolderDownload::line 366) → "Download Now" double click causes exception. Repair Folder / "Rebuild Index" & "Download Now" fails "... other operation is using the folder" (failure code:0x8055000a[nsIMsgFolder.downloadAllForOffline],folderProps.js::onOfflineFolderDownload::line 366)
You need to log in before you can comment on or make changes to this bug.