Closed Bug 100978 Opened 25 years ago Closed 25 years ago

Filters: new or edited AND resets to OR upon OK.

Categories

(MailNews Core :: Filters, defect)

defect
Not set
major

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.5

People

(Reporter: laurel, Assigned: naving)

References

Details

(Keywords: regression, Whiteboard: PDT+)

Attachments

(1 file)

Using sep21 0.9.4 commercial branch After OK to a new or edited filter setting for AND/"All of the following", the AND resets to or and is written to rules.dat as OR. 1. Launch message filters. 2. Click New and set up a simple filter using AND/"All of the following". 3. Confirm OK. 4. Look at the filter rules dialog again for that filter and see the AND has reset to OR, likewise the rules.dat contains OR.
Keywords: nsbranch, regression
Same on trunk, too. I messed up on the rules.dat issue in original description. The rules.dat writes as AND if you don't edit, so existing AND filters intact.
fitler on the ruff... fixing typo
Summary: Fitlers: new or edited AND resets to OR upon OK. → Filters: new or edited AND resets to OR upon OK.
This is really bad. I'd say severity: critical.
investigating...
Status: NEW → ASSIGNED
i have a debug build 2 days old and it WFM.
ok, something bad is happening. Any of the following should be OR and All of the following should be AND and that is not the case.
fix in hand. patch coming up...
Attached patch proposed fix — — Splinter Review
The fix is to assign the searchTerm here.
cc bienvenu for sr.
Comment on attachment 50330 [details] [diff] [review] proposed fix is this a regression from our code, or did something external change?
Attachment #50330 - Flags: superreview+
I think this bug has been there for a while (based on CVS blame). On Edit if you have "AND" in your filter condition it will still select the radio button - Any of the following. now this is fixed.
fixed on trunk
sounds like a stop ship bug to me. Laurel, can you try it out in todays trunk builds? If it checks out, I'll take it to PDT at 3pm today.
Blocks: 99508
Keywords: nsbranch → nsbranch+
Target Milestone: --- → mozilla0.9.5
OK using sep24 commercial trunk build win98.
OK with sep24 trunk build linux rh6.2
OK with sep24 trunk commercial build Mac OS 9.1
Minor detail, see bug 101421, I believe caused by this fix.
check it in - PDT+
Whiteboard: PDT+
fixed on branch
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
OK using sep26 commercial 0.9.4 branch: win98, mac OS 9.1, linux rh6.2, mac OS X
Status: RESOLVED → VERIFIED
*** Bug 102228 has been marked as a duplicate of this bug. ***
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: