View Issue Details

IDProjectCategoryView StatusLast Update
0002526SOGoWeb Preferencespublic2013-12-01 20:45
Reporterpenguinpreferred Assigned Tofrancis  
PriorityurgentSeveritymajorReproducibilityalways
Status closedResolutionfixed 
PlatformLinuxOSUbuntuOS Version12.04 LTS
Product Version2.1.1 
Fixed in Version2.1.1a 
Summary0002526: Mail filters broken
Description

Cannot add new mail filter to empty list of filters.

When clicking on (+) to add condition script fails in the function below with error "filter is undefined" on the line: "if (!filter.rules)"

function onRuleAddClick(event) {
var filterRules = $("filterRules");
if (filterRules) {
var newRule = createFilterRule();
if (!filter.rules)
filter.rules = [];
filter.rules.push(newRule);
var newRuleDiv = appendRule(filterRules, newRule);
setSelectedRuleDiv(newRuleDiv);
filterRules.scrollTop = newRuleDiv.offsetTop;
}
Event.stop(event);
}

Steps To Reproduce

From mail preferences, click on button to add a filter and then click on button to add a filter rule.

Additional Information

I'm not sure if it is connected, but my existing filters had been silently nuked prior to this.

TagsNo tags attached.

Activities

francis

francis

2013-12-01 02:01

administrator   ~0006318

Have you tried 2.1.1a?

penguinpreferred

penguinpreferred

2013-12-01 09:30

reporter   ~0006319

Yes, problem solved, thanks.

Issue History

Date Modified Username Field Change
2013-11-30 23:45 penguinpreferred New Issue
2013-12-01 02:01 francis Note Added: 0006318
2013-12-01 09:30 penguinpreferred Note Added: 0006319
2013-12-01 20:45 francis Status new => closed
2013-12-01 20:45 francis Assigned To => francis
2013-12-01 20:45 francis Resolution open => fixed
2013-12-01 20:45 francis Fixed in Version => 2.1.1a