Closed
Bug 473217
Opened 16 years ago
Closed 16 years ago
archive command doesn't work in rss feeds
Categories
(Thunderbird :: Mail Window Front End, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 3.0b2
People
(Reporter: Bienvenu, Assigned: Bienvenu)
References
(Blocks 1 open bug)
Details
(Whiteboard: [has patch for review])
Attachments
(1 file)
1.36 KB,
patch
|
standard8
:
review+
clarkbw
:
ui-review+
|
Details | Diff | Splinter Review |
According to Standard8, the archive button doesn't work in rss feeds. Instead of disabling it, I thing we should make it work like the local folders account it is...
Assignee | ||
Comment 1•16 years ago
|
||
marking blocking b2
Flags: blocking-thunderbird3+
Whiteboard: [should be easy]
Target Milestone: --- → Thunderbird 3.0b2
Assignee | ||
Comment 2•16 years ago
|
||
archiving rss feeds puts messages in the local folder archive, which means that we're not getting an archives folder for the rss account from prefs, and are using the local folders archive folder. I'm assuming we want an Archives folder in the rss account itself.
Comment 3•16 years ago
|
||
Do people want to archive RSS feeds? I'm guessing so from the bug, but my first thought was wondering why the button appeared for an rss feed.
Assignee | ||
Comment 4•16 years ago
|
||
I can see wanting to save particular rss messages...
looking at the code, I think the cause of this bug is that rss servers have no identities, so the code falls back onto the local folder, but I'll have to debug it to be sure.
Assignee | ||
Updated•16 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 5•16 years ago
|
||
since the rss account doesn't have an identity, we just create an Archives folder URI directly.
Attachment #359188 -
Flags: review?(bugzilla)
Assignee | ||
Updated•16 years ago
|
Whiteboard: [should be easy] → [has patch for review]
Comment 6•16 years ago
|
||
Comment on attachment 359188 [details] [diff] [review]
proposed fix
>- let archiveFolderUri =
>- getIdentityForHeader(msgs[0], Components.interfaces.nsIMsgCompType.ReplyAll).archiveFolder;
>+ let archiveFolderUri;
>+ // rss servers don't have an identity so we special case the archives URI
>+ archiveFolderUri = (srcFolder.server.type == 'rss')
>+ ? srcFolder.server.serverURI + "/Archives"
>+ : getIdentityForHeader(msgs[0], Components.interfaces.nsIMsgCompType
>+ .ReplyAll).archiveFolder;
Might as well keep the let on the same line as the assignment I think.
r=me with that fixed. Though also requesting ui-review just to make sure Bryan's happy with this.
Attachment #359188 -
Flags: ui-review?(clarkbw)
Attachment #359188 -
Flags: review?(bugzilla)
Attachment #359188 -
Flags: review+
Updated•16 years ago
|
Attachment #359188 -
Flags: ui-review?(clarkbw) → ui-review+
Comment 7•16 years ago
|
||
Comment on attachment 359188 [details] [diff] [review]
proposed fix
looks good, follows a very similar pattern to the rest of the archives system.
I'm also assuming that viewing rss entries in the archives will work in the expected manner.
Assignee | ||
Comment 8•16 years ago
|
||
yes, viewing rss entries should behave like it does in any rss folder. fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•