Unable to create a new "Saved Search Folder" using "Save View as a Folder..."
Categories
(SeaMonkey :: MailNews: General, defect)
Tracking
(seamonkey2.53+ fixed)
People
(Reporter: njsg, Assigned: njsg)
References
Details
(Whiteboard: SM2.53.10)
Attachments
(3 files, 2 obsolete files)
1007 bytes,
patch
|
frg
:
review+
frg
:
approval-comm-release+
frg
:
approval-comm-esr60+
|
Details | Diff | Splinter Review |
1.22 KB,
patch
|
iannbugzilla
:
review+
iannbugzilla
:
approval-comm-release+
iannbugzilla
:
approval-comm-esr60+
|
Details | Diff | Splinter Review |
1.05 KB,
patch
|
frg
:
review+
|
Details | Diff | Splinter Review |
In Mail&News, the "Save View as a Folder" option in the "View" drop-down (top left, below the button bar) does not work, and leaves the following error in the error console:
Error: ReferenceError: aSearchTems is not defined
Source File: chrome://messenger/content/folderPane.js
Changing that to aSearchTerms makes this option work.
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Comment 2•3 years ago
|
||
(This also affects File->New->"Saved Search...")
Updated•3 years ago
|
Comment 3•3 years ago
|
||
Reformatted hg patch
lgtm r/a+
Comment 4•3 years ago
|
||
Even with the first patch the view is not updated correctly. View->Messages->Custom Views-><pick one from the list> results in a blank list because termsArray.length is undefined.
This patch is only needed for 2.53 and 2.57 because Bug 1681009 fixed it for comm-central.
[Approval Request Comment]
Regression caused by (bug #): Bug 857230
User impact if declined: virtual folder views do not work
Testing completed (on m-c, etc.): 2.53.11b1 pre
Risk to taking this patch (and alternatives if risky): broken already.
String changes made by this patch: none
Comment 5•3 years ago
|
||
Updated patch. Removed unneeded weak parameter because Bug 1313150 is in 2.53.
Even with the first patch the view is not updated correctly. View->Messages->Custom Views-><pick one from the list> results in a blank list because termsArray.length is undefined.
This patch is only needed for 2.53 and 2.57 because Bug 1681009 fixed it for comm-central.
[Approval Request Comment]
Regression caused by (bug #): Bug 857230
User impact if declined: virtual folder views do not work
Testing completed (on m-c, etc.): 2.53.11b1 pre
Risk to taking this patch (and alternatives if risky): broken already.
String changes made by this patch: none
Comment on attachment 9249595 [details] [diff] [review]
1738669-termsArray-v1_1-25310.patch
[Triage Comment]
Instead of virtualFolderSearchTerm you could just use searchTerm then you won't need to change the appendElement line.
r/a=me either way
Comment 7•3 years ago
|
||
As discussed via irc. Part 2 is technically not needed for comm-central but rename searchTerm to virtualFolderSearchTerm for consistency.
r=me because trivial.
Updated•3 years ago
|
Pushed by frgrahl@gmx.net:
https://hg.mozilla.org/comm-central/rev/e528f8fa5e77
Correct typo in folderPane.js. r=frg
https://hg.mozilla.org/comm-central/rev/abc7fdc37ebd
Rename searchTerm to virtualFolderSearchTerm for consistency. r=me
Comment 9•3 years ago
|
||
https://gitlab.com/seamonkey-project/seamonkey-2.53-comm/-/commit/89deb0d94a48b7945fc3fd96567c66ceeb1fbfb1
Correct typo in folderPane.js. r=frg a=frg
https://gitlab.com/seamonkey-project/seamonkey-2.53-comm/-/commit/9dee4e90c7dbba4280e94f39b75b1f97da7d3b8f
Loop thru virtual folder searchterms using an iterator. r=IanN a=IanN
Description
•