Closed Bug 152504 Opened 22 years ago Closed 22 years ago

JavaScript error while leaving File Bookmark dialog (treecols has no properties)

Categories

(SeaMonkey :: Bookmarks & History, defect)

x86
All
defect
Not set
trivial

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.2beta

People

(Reporter: aha, Assigned: d_king)

References

Details

Attachments

(1 file)

Repro: 1. open several tabs 2. open File Bookmark dialog... 3. check 'Bookmark this group of tabs' 4. hit Cancel Actual: Error: treecols has no properties Source File: Line: 12 2002061712/trunk/W2K
Confirming. This also happens when you leave the File Bookmark-dialog with the OK-Button or via the close button of the dialog. Furthermore the state of the Bookmark this group of tabs-checkbox does not matter. Build-ID 2002061707/WinXP. Tuning summary a bit so this bug can be found easier. Lowering severity.
Severity: normal → minor
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: JS errors while leaving File Bookmark dialog... → JavaScript error while leaving File Bookmark dialog (treecols has no properties)
What annoys me about this bug is that the Source File isn't specified. I don't know if this is something about this bug, or something about the Javascript console. In any case, the Source File problem will be fixed by Bug# 52116, so marking this as dependant on that bug.
Depends on: 52116
taking, but low priority
Assignee: ben → pierrechanial
OK, I did a bit of digging, and apologies if I'm nowhere near the right place. In mozilla/xpfe/components/bookmarks/resources/bookmarks.xml treecols is used in three places (ignoring the definition statements). In lines 1950, 2048 and 2103. The first two are used like this - <treecols anonid="treecols">, but the last one is just <treecols>. Could this be the problem? (I would test myself, but I'm on Win98 and I can't afford to buy MSVC++).
good catch David! To make your first patch: use PatchMaker in http://www.gerv.net/software/patch-maker/build-mode.html You don't need to have MSVC to modify chrome files.
Assignee: pierrechanial → dgk
OK, give me a bit of time (i.e. a day or so) to download/install the programs, and I'll see what I can do. Thanks Pierre for letting me have a go at this.
This is my first attempt at a patch, so apologies if I've done something wrong.
Comment on attachment 93490 [details] [diff] [review] Fix for JS error treecols has no properties r=pierrechanial@netscape.net You should ask Blake to sr.
Attachment #93490 - Flags: review+
Status: NEW → ASSIGNED
Whiteboard: super-review has been asked for.
I'm dropping the severity level as I don't beleive this bug actually prevents any functionality from working. Well, when I get the error, it's always after successfully performing a bookmark function. If someone is getting this error, and a failure in Bookmarks, please let me know. Also, I'm seeking an sr on my patch. eMail to Blake bounced, so I sent an eMail to Ben. And finally, I was going to set the target milestone to 1.1, but there is no such entry. However, that is what I'm aiming for. Which brings up a question, is anyone seeing this problem on the 1.0.1 branch?
Severity: minor → trivial
Keywords: review
Keywords: reviewpatch
Whiteboard: super-review has been asked for. → super-review has been asked for using the correct eMail address.
Keywords: review
Comment on attachment 93490 [details] [diff] [review] Fix for JS error treecols has no properties sr=ben@netscape.com
Attachment #93490 - Flags: superreview+
Keywords: review
Keywords: approval
Target Milestone: --- → mozilla1.2alpha
Whiteboard: super-review has been asked for using the correct eMail address.
Target Milestone: mozilla1.2alpha → mozilla1.2beta
*** Bug 172026 has been marked as a duplicate of this bug. ***
OS: Windows 2000 → All
Depends on: 169026
Whiteboard: Patch needs checkin to the TRUNK from someone with checkin privs.
checked in
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Keywords: approval
Whiteboard: Patch needs checkin to the TRUNK from someone with checkin privs.
No longer depends on: 169026
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: