Closed Bug 1700218 Opened 5 years ago Closed 5 years ago

Feed subscribe dialog generates item.properties errors

Categories

(SeaMonkey :: MailNews: Account Configuration, defect)

SeaMonkey 2.53
defect

Tracking

(seamonkey2.53+ fixed, seamonkey2.57esr? affected)

RESOLVED FIXED
seamonkey2.53
Tracking Status
seamonkey2.53 + fixed
seamonkey2.57esr ? affected

People

(Reporter: iannbugzilla, Assigned: iannbugzilla)

Details

(Whiteboard: SM2.53.7)

Attachments

(1 file, 1 obsolete file)

When the Subscribe dialog is open for feeds the error console shows lots of messages about TypeError: item.properties is undefined

Attached patch 1700218-feed-sub-2537.patch (obsolete) — — Splinter Review

Simple fix

Attachment #9210873 - Flags: review?(frgrahl)
Attachment #9210873 - Flags: approval-comm-release?
Attachment #9210873 - Flags: approval-comm-esr60?

Comment on attachment 9210873 [details] [diff] [review]
1700218-feed-sub-2537.patch

LGTM for SeaMonkey 2.53 and 2.57 release branches

Attachment #9210873 - Flags: review?(frgrahl)
Attachment #9210873 - Flags: review+
Attachment #9210873 - Flags: approval-comm-release?
Attachment #9210873 - Flags: approval-comm-release+
Attachment #9210873 - Flags: approval-comm-esr60?
Attachment #9210873 - Flags: approval-comm-esr60+

This is probably a better fix, as until SM implements favicons for feeds image.properties will not exist.

Attachment #9210873 - Attachment is obsolete: true
Attachment #9210910 - Flags: review?(frgrahl)
Attachment #9210910 - Flags: approval-comm-release?
Attachment #9210910 - Flags: approval-comm-esr60?

Comment on attachment 9210910 [details] [diff] [review]
1700218-feed-sub-v1_1-2537.patch

yes makes more sense. As discussed over irc !item.properties should be first checked to bailout early.

- if ((item.folder && item.folder.isServer) || item.open)
+ if (!item.properties ||
+ (item.folder && item.folder.isServer) || item.open)

r/a+ for SeaMonkey 2.53 and 2.57 release branches.

Attachment #9210910 - Flags: review?(frgrahl)
Attachment #9210910 - Flags: review+
Attachment #9210910 - Flags: approval-comm-release?
Attachment #9210910 - Flags: approval-comm-release+
Attachment #9210910 - Flags: approval-comm-esr60?
Attachment #9210910 - Flags: approval-comm-esr60+
Whiteboard: SM2.53.7
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.53
Version: Trunk → SeaMonkey 2.53 Branch
Version: SeaMonkey 2.53 Branch → SeaMonkey 2.53
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: