Closed Bug 780110 Opened 12 years ago Closed 11 years ago

Trash folder not automatically created with new Feed account, only on restart; this causes folder deletion problems until restart.

Categories

(MailNews Core :: Feed Reader, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 24.0

People

(Reporter: vw-speed, Unassigned)

References

Details

(Whiteboard: [fixed by bug 529131])

User Agent: Opera/9.80 (Windows NT 6.1; WOW64; U; de) Presto/2.10.289 Version/12.01

Steps to reproduce:

most times when i recieve new RSS feeds under "Blogs & News-Feeds" and i click on "Löschen" (delete) with the single messages nothing happens. When i close Thunderbird and restart it and try to delete it again it works.



Expected results:

Deleting of messages directly without the need of a restart of Thunderbird.
This action results in two errors in the console (the second occurs 4 times) :

Error : An error occurred executing the button_delete command: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMsgDBView.doCommand]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: chrome://messenger/content/folderDisplay.js :: FolderDisplayWidget_doCommand :: line 1793"  data: no]
Source file : chrome://global/content/globalOverlay.js
Line : 100

Erreur : Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMsgFolder.getStringProperty]
Fichier source : chrome://messenger/content/folderPane.js
Ligne : 2468
In fact only the first error occurs. Another one occurs when trying to delete a feed :

Erreur : NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIMsgFolder.deleteSubFolders]
Fichier source : chrome://messenger/content/folderPane.js
Ligne : 2228
In fact shift+delete works fine. I think the problem is that no trash exists before restarting TB. So the fix will be to create a trash when creating "Blogs & News-Feeds" account.
It may be (i cannot say 100% sure) that it only regards the Feed subscriptions which i imported from my Thunderbird installation on another operating system.
I will check if it regards all subscriptions in the next time.
After checking, the trash file is correctly created on the disk, but the database is not updated.
Component: General → Feed Reader
Product: Thunderbird → MailNews Core
true, if a new feed account is created, Trash is not.  a restart autocreates Trash.  so until a restart, deleting any added folder will cause an error.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: new Feeds cannot be deleted → Trash folder not automatically created with new Feed account, only on restart; this causes folder deletion problems until restart.
Depends on: 796234
fixed in Tb by converting all acct creation to new codepath, in bug 529131.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Depends on: 529131
Whiteboard: [fixed by bug 529131]
Target Milestone: --- → Thunderbird 24.0
You need to log in before you can comment on or make changes to this bug.