Rule is created twice in the container

Description

If the type of rules are restricted for a container by using lRules parameter and the lRules only contains a single rule then upon adding a new rule to the container creates 2 rules.

example code (in displayBody.cfm, it could be in any webskin):
<con:container label="test_cont" lRules="ruleEvents" />

1. When you try to add a new rule to the test_cont container it skips the 'Add New Rule to Container' dialog and directly goes to the rule setup.
It makes sense since only one rule is available.

2. On the rule setup hit either Save or Cancel. It doesn't matter.

3. Hit the refresh icon on the container and it will show 2 rules.

As far as I can tell the first rule is created right before the rule setup dialog comes up.

Environment

Test environment on Mac OSX 10.9, Coldfusion 9, Apache2, MSSQL database on Windows Virtual Machine

Activity

Frederic Altorfer February 3, 2011 at 2:45 AM

iframe content was loaded again when closing the dialog

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created October 6, 2010 at 2:58 PM
Updated February 3, 2011 at 2:45 AM
Resolved February 3, 2011 at 2:45 AM