Forum

Share

Please consider registering
guest

Log In RegisterMembers
Or log in with

Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
FiltaQuilla regex Error:(
March 1, 2010
9:16 am
vlad
Guest

Hi,

I have try to test supper interesting regexp filtering but unfortunately on some folders I receive next error:

Error: uncaught exception:[Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIMsgSearchValidityTable.getAvailable]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: file:///K:/ThunderbirdPortable3/App/thunderbird/modules/searchSpec.js :: SearchSpec_applySearch :: line 417" data: no]

It happens on regexp and JavaScript filters (I think they are near the same in internal source code)

TB 3.0.2 with IMAP folders.

Thanks for help

Share
March 1, 2010
9:40 am
Admin
Forum Posts: 323
Member Since:
July 12, 2008
Offline

Thanks for noticing this. This is an issue in the core code, a section that does not correctly support custom filters. I will need to fix it in the core code, as fixing it in the extension would require a very tacky overwriting of a core js function. I opened a bug for this, https://bugzilla.mozilla.org/show_bug.cgi?id=549336

I believe that this code is only used in views though – but would affect any custom search term, not just the ones you mentioned.

Could you try some other ways of accessing this, to confirm that in your case? That is, I think the custom term should work in either virtual folders, or in advanced search (select the folder, right click, "Search").

Share
March 8, 2010
9:11 am
vlad
Guest

Hi,
Unfortunately not, I have exactly the same error either in virtual folders or in advanced search:(
thanks for help

Share
March 8, 2010
9:38 am
Admin
Forum Posts: 323
Member Since:
July 12, 2008
Offline

I'm going to have to investigate this further. You say it only appears in "some folders". Can you tell me how those folders might be different from those that do not show this error?

Share
March 8, 2010
1:31 pm
vlad
Guest

I have made some test.
My mailbox is IMAP one. It works on some folders with few messages inside. I have made some additional test and copy whole inbox to "test" folder inside Local Folders and then apply my custom filters (with regexp) to this "test" folder -> it works. But on inbox inside IMAP mailbox -> error. Rebuild index doesn't help.

One more test, after switching to Offline mode -> no error,
it works.

Share
March 19, 2010
9:07 am
Admin
Forum Posts: 323
Member Since:
July 12, 2008
Offline

I didn't think that advanced search used searchSpec.js, but it must if you are getting that message. I really need to fix that in core, and I'll try to get to it soon.

Thanks for pointing this out.

rkent

Share
March 28, 2010
3:00 pm
vlad
Guest

Thanks

Share
April 30, 2010
11:09 am
Admin
Forum Posts: 323
Member Since:
July 12, 2008
Offline

The fix for this has landed in TB 3.0.5 and 3.1beta2

Share
Forum Timezone: UTC -8

Most Users Ever Online: 18

Currently Online:
8 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

bobkatz: 8

BigMike: 8

t2m: 7

zabolyx: 7

taa: 6

onlyme: 6

Member Stats:

Guest Posters: 130

Members: 565

Moderators: 1

Admins: 1

Forum Stats:

Groups: 1

Forums: 7

Topics: 231

Posts: 802

Moderators: rkent (323)

Administrators: rkent (323)