Bugzilla@Mozdev – Bug 25686
Cloning Filters fails with Non-String condition attributes
Last modified: 2016-01-09 09:21:16
You need to log in before you can comment on or make changes to this bug.
If I try to clone or merge a filter that has a condition that isn't a string (e.g. Read Status) the merge fails. Instead there is the following error in error console: Error: NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIMsgSearchValue.str] Quelldatei: chrome://quickfilters/content/qFilters-utils.js Zeile: 671
The error is caused by always copying the nsMsgSearchValue.str property. Apparently even merely reading this property will throw an error if the attribute is not a string attribute: https://mxr.mozilla.org/comm-central/source/mailnews/base/search/src/nsMsgSearchValue.cpp#59
Created an attachment (id=7772) [details] 2.3.1 prerelease 40 This should fix cloning and merging for cases with esoteric filter conditions such as Status, junk Status, age, Date etc. tested in Thunderbird 27 and Postbox 3.0.8 Still needs testing in SeaMonkey
Created an attachment (id=7775) [details] 2.3.1 prerelease 61
Fixed in Version 2.4, Released February 24, 2014