Closed Bug 305216 Opened 19 years ago Closed 19 years ago

Bookmark manager's move button doesnt work anymore

Categories

(Firefox :: Bookmarks & History, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED FIXED

People

(Reporter: elfguy, Assigned: gsshih)

References

Details

(Keywords: fixed1.8, regression)

Attachments

(2 files, 1 obsolete file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050819 Firefox/1.0+ Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050819 Firefox/1.0+ When clicking on "Move" in the download manager, an XML parsing error occurs: XML Parsing Error: undefined entry: Location: chrome://browser/content/bookmarks/addBookmark.xul Line Numer 93, Column 11 Reproducible: Always Steps to Reproduce:
Attached image error dialog
bug 300412 removed addGroup.label and addGroup.accesskey without checking for other callers, looks like.
Blocks: 300412
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: blocking1.8b4?
Keywords: regression
Assignee: nobody → mconnor
Flags: blocking1.8b4? → blocking1.8b4+
Is there code in addBookmark.js that relies on this checkbox? hides it? handles its event handlers? If so, remove that too otherwise there may be js errors by removing the XUL element only. If not, let me know and I'll review this patch.
Attachment #193182 - Attachment is obsolete: true
Comment on attachment 193186 [details] [diff] [review] also removed all dependent code in addBookmark.js r=ben@mozilla.org
Attachment #193186 - Flags: review+
Assignee: mconnor → gsshih
Attachment #193186 - Flags: approval1.8b4?
Shouldn't this comment be replaced by something else, given that |window.arguments[5]| is still used a few lines below? - * window.arguments[5]: If the mode is "addGroup", this is an array - * of objects with name, URL and charset - * properties, one for each group member. [...] + url = getNormalizedURL(gFld_URL.value); + rSource = BMDS.createBookmark(gFld_Name.value, url, null, null, gBookmarkCharset, false, ""); + if (window.arguments.length > 4 && window.arguments[4] == "newBookmark") { + window.arguments[5].newBookmark = rSource; + } Also: @@ -210,7 +186,7 @@ function onFieldInput() { const ok = document.documentElement.getButton("accept"); - ok.disabled = gFld_URL.value == "" && !addingGroup() || + ok.disabled = gFld_URL.value == "" || gFld_Name.value == ""; } ^^^^ remove these spaces
Sorry, I didn't mean those spaces, as you didn't touch that code. I meant these ones... + window.arguments[5].newBookmark = rSource; + } ^^^^
Attachment #193186 - Flags: approval1.8b4? → approval1.8b4+
Flags: blocking1.8b5+
checked in branch and trunk
Status: NEW → RESOLVED
Closed: 19 years ago
Keywords: fixed1.8
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: