Highlighted

[Hosted Version] Guides Next - Excercise 6 :: modifying rules

Keishichi

30-09-2009

We will be setting properties for two rules (displayRecordNotFound and displayDetailsPanel).

I found some strange behavior even though I open & close "Bug Workaround" rule.

When I change condition for one rule, then the change has been set for other rule.

Anybody has experienced this?

Keishichi

Replies

Highlighted

Jim_Leask

30-09-2009

This is the reason we need the "Bug Workaround" rule. Unfortunately, this beta build has a bug where the properties page for the rules will often be tied to the wrong data. If you have two different rules, but they each have the same number of expressions in them (which is common), opening the second rule will really open the property page on the previous rule. You will see the wrong data, and likely edit the wrong data.

By opening the 'bug workaround' rule, it has 5 or so expressions in it. Since this is larger than any of the other rules, we avoid the caching bug and you will see the correct data when you open the property page for your rule.

I plan on explaining this in detail during the lab, and our TA's need to be ready to remind people.

Jim