Closed Bug 234401 Opened 21 years ago Closed 4 years ago

In <widgetglue.js>, Exceptions and Warning when trying to "rename folder to its current name with different case" ((non IMAP) local folders)

Categories

(SeaMonkey :: MailNews: Message Display, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 507601

People

(Reporter: sgautherie, Unassigned)

References

(Blocks 1 open bug)

Details

[Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.6) Gecko/20040113] (W98SE) 1. In MailNews, ask to rename a folder using its context menu (from left panel) 2. Only change the case of the letter, for example 'mozilla' -> 'moZilla' 3. On 'OK' (rename), get the warning about "folder already exists" (That's bug 92165.) 4. On 'OK' (warning), get the following Exception (first time only) { Error: uncaught exception: [Exception... "Component returned failure code: 0x80550013 [nsIMessenger.RenameFolder]" nsresult: "0x80550013 (<unknown>)" location: "JS frame :: chrome://messenger/content/widgetglue.js :: RenameFolder :: line 97" data: no] } Code is {{ try { messenger.RenameFolder(GetFolderDatasource(), selectedFolder, name); // 97 } catch(e) { SelectFolder(selectedFolder.URI); //restore selection // 101 throw(e); // so that the dialog does not automatically close dump ("Exception : RenameFolder \n"); } }} 5. Repeat step 3 and 4, the "errors" become (all next times) { Warning: reference to undefined property selectedFolder.URI Source File: chrome://messenger/content/widgetglue.js Line: 101 Error: uncaught exception: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIRDFService.GetResource]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: chrome://messenger/content/msgMail3PaneWindow.js :: SelectFolder :: line 1415" data: no] } I guess this should be fixed before, or ar least at the same time, as bug 92165.
Product: Browser → Seamonkey
Assignee: sspitzer → mail
Thunderbird 2.0.0.14 / Seamonkey 1.1.11 is already available, and this bug is already WORKSFORME. I think there is no need to keep open. Closing as WORKSFORME.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.13) Gecko/20060414] (release) (W2Ksp4) [Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.0.12) Gecko/20070510 SeaMonkey/1.0.9] (release) (W2Ksp4) [Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.17pre) Gecko/20080715 SeaMonkey/1.1.12pre] (nightly) (W2Ksp4) [Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a5pre) Gecko/20070515 SeaMonkey/1.5a] (nightly) (W2Ksp4) [Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.0.2pre) Gecko/2008072102 SeaMonkey/2.0a1pre] (nightly) (W2Ksp4) [Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.0.2pre) Gecko/2008072203 Shredder/3.0a2pre] (nightly) (W2Ksp4) [Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1a2pre) Gecko/2008080519 SeaMonkey/2.0a1pre] (home, optim default) (W2Ksp4) Step 5 may be fixed in "recent" builds/releases. But Step 4 is still there.
Severity: major → normal
Status: RESOLVED → REOPENED
OS: Windows 98 → Windows 2000
Resolution: WORKSFORME → ---
Assignee: mail → nobody
Status: REOPENED → NEW
Component: MailNews: Message Display → Backend
Product: SeaMonkey → MailNews Core
QA Contact: esther → backend
There is no function RenameFolder and no selectedFolder.URI in widgetglue.js of Thunderbird. Is this Seamonkey only or outdated?
Flags: needinfo?
(In reply to :aceman from comment #4) > There is no function RenameFolder and no selectedFolder.URI in widgetglue.js > of Thunderbird. Is this Seamonkey only or outdated?
Flags: needinfo? → needinfo?(philip.chee)
The widgetglue.js file was removed from TB altogether. So the report needs to be refreshed.
(In reply to :aceman from comment #6) > The widgetglue.js file was removed from TB altogether. So the report needs > to be refreshed. Ftr, see Bug 390262 - Disentangle SeaMonkey and Thunderbird UI Bug 889022 - try to remove mail/base/content/widgetglue.js *** (In reply to :aceman from comment #4) > There is no function RenameFolder and no selectedFolder.URI in widgetglue.js > of Thunderbird. Is this Seamonkey only or outdated? [Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14] + [Mozilla/5.0 (Windows NT 5.1; rv:29.0) Gecko/20100101 Firefox/29.0 SeaMonkey/2.26.1] [Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Thunderbird/31.0] I can't reproduce: actually, renaming (mostly) works now :-> [Though I didn't expect it to.] (I'm not sure whether MailNews was fixed or the (3) IMAP server(s) I use were improved. Anyway...) R.WorksForMe
Status: NEW → RESOLVED
Closed: 17 years ago10 years ago
Flags: needinfo?(philip.chee)
Resolution: --- → WORKSFORME
It still doesn't work for me. (Thunderbird 31 on Ubuntu) I tried a local folder and an RSS folder, both gave the error pop-up "A folder with that name already exists. Please enter a different name." and didn't let the rename occur.
Status: RESOLVED → REOPENED
OS: Windows 2000 → All
Resolution: WORKSFORME → ---
(In reply to Serge Gautherie (:sgautherie) from comment #2) > [Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a5pre) Gecko/20070515 > SeaMonkey/1.5a] (nightly) (W2Ksp4) + > Step 5 may be fixed in "recent" builds/releases. > But Step 4 is still there. [Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a5pre) Gecko/20070515 SeaMonkey/1.5a] Actually both errors (but not the warning) were still happening: {{ Error: uncaught exception: [Exception... "Component returned failure code: 0x80550013 [nsIMessenger.RenameFolder]" nsresult: "0x80550013 (<unknown>)" location: "JS frame :: chrome://messenger/content/widgetglue.js :: RenameFolder :: line 113" data: no] Error: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIRDFService.GetResource]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: chrome://messenger/content/msgMail3PaneWindow.js :: SelectFolder :: line 1483" data: no] Source File: chrome://messenger/content/msgMail3PaneWindow.js Line: 1483 }} *** (In reply to Serge Gautherie (:sgautherie) from comment #7) > [Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.19) Gecko/20110420 > SeaMonkey/2.0.14] + > I can't reproduce: actually, renaming (mostly) works now :-> [Though I > didn't expect it to.] > (I'm not sure whether MailNews was fixed or the (3) IMAP server(s) I use > were improved. Anyway...) Oh, now I "remember": I probably wasn't using IMAP yet in 2004-2008... Now trying on (non IMAP) local folders! [Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14] Step 5 was already (fully) fixed. But step 4 error remained: {{ Error: uncaught exception: [Exception... "Component returned failure code: 0x80550013 [nsIMsgFolder.rename]" nsresult: "0x80550013 (<unknown>)" location: "JS frame :: chrome://messenger/content/widgetglue.js :: RenameFolder :: line 99" data: no] }} [Mozilla/5.0 (Windows NT 5.1; rv:29.0) Gecko/20100101 Firefox/29.0 SeaMonkey/2.26.1] Now, steps 4 and 5 always report: {{ Error: : Component returned failure code: 0x80550013 [nsIMsgFolder.rename] Source File: chrome://messenger/content/widgetglue.js Line: 53 }} Code is {{ 51 try 52 { 53 selectedFolder.rename(name, msgWindow); 54 } 55 catch(e) 56 { 57 SelectFolder(selectedFolder.URI); //restore selection 58 throw(e); // so that the dialog does not automatically close 59 dump ("Exception : RenameFolder \n"); 60 } }} [Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Thunderbird/31.0] Steps 4 and 5 are fully fixed in Thunderbird. Then, MailNews Core -> SeaMonkey *** [Mid-air collision detected!] (In reply to B.J. Herbison from comment #8) > I tried a local folder and an RSS folder, both gave the error pop-up "A > folder with that name already exists. Please enter a different name." and > didn't let the rename occur. Without more details, your comment is bug 92165, not this bug.
Status: REOPENED → NEW
Component: Backend → MailNews: Message Display
OS: All → Windows XP
Product: MailNews Core → SeaMonkey
Summary: In <widgetglue.js>, Exceptions and Warning when trying to "rename folder to its current name with different case" → In <widgetglue.js>, Exceptions and Warning when trying to "rename folder to its current name with different case" ((non IMAP) local folders)

This code went away in Bug 507601 so duping against that bug.

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