I have several rules that use the "Load content" action. All "Load content" labels and names I use are visible on every rule set, and any attempt to reuse a name will result in an "already in use" error.
Was this intentional? It did not do this in beta4.
Comments
Comment #1
RoboPhred commentedThis also happens in dev as of 2009-Mar-07
Comment #2
fagoouch, that sounds bad. Thanks for reporting.
Comment #3
fagohm, I've checked it and it seems to be working fine? Previously, in beta4 the check was broken - so perhaps this confuses you?
Once there is a variable with a name, registered by the current or a previous rule, you can't use the name again (clash!). However this shouldn't affect rules in other rule sets - so you can use the same variable name in different rule sets. Is it that way for you?
Comment #4
fagoComment #5
RoboPhred commentedAh, I though variables were in scope of a single rule (which I improperly called "rule set" in the original report). Thanks for clarifying that.
Comment #6
TripleEmcoder commentedCan you please explain why this works this way? Because of this one needs to have very verbose variable names, which does not add any real value for a given rule.
Comment #7
fagoBecause it is useful to load something in the first rule, then use in the second. For Rules 2.x, this will change such that variables are limited to a single rule, but instead we streamline the creation of components that can make use of the variables. However for 1.x, this won't change.