First off, great module. I love it. Right up there with CCK, Views and Panels.

I really like the ability to clone Triggered Rules and also clone Rules within Rule Sets. Why limit it to just that?

I have made minor mistakes when creating some rule sets, especially leaving out parameters which I didn't realise I'd need until later. The problem is once I've created the rule set, there's no way to edit the parameters in it, not even to ADD a new parameter.

To get past this problem I was hoping I'd be able to clone the old rule set and add new parameters, but I cant. A feature to clone rule sets just like other rules would help keep this module's usability consistent. And being able to edit the rule sets parameters would make it more flexible.

Just my 2 cents. Keep up the good work.

Comments

mitchell’s picture

Component: User Interface » User interface

Seconded!!

Cloning rule sets would be great.

fago’s picture

Agreed. But editing parameters is dangerous as actions might depend on them - so we'd have to deal with that. Best we start with a clone() feature.

msumme’s picture

I agree that editing parameters is dangerous, however there are two things to consider.

Sometimes the requirements for a rule set become more complex after it was initially planned, and therefore needs an additional parameter to be available. Therefore, we should most certainly allow people to ADD a new parameter to an existing rule set, since, at worst, it's just additional baggage that isn't being used.

Second, this is a fairly advanced module, and, like views and cck, does not need to be idiot-proofed in the same way as much simpler modules. Someone using this module should be aware they can break their site, or break their rules, if they aren't careful to remember what it is they're doing.

And I think allowing people to make those decisions would make an already excellent module even better.

That's just my opinion though. At the very least, adding parameters should be possible after a rule set has been created.

And major second for everything being clone-able.

stinky’s picture

Subscribe, I'd love to be able to clone rule sets.

Bilmar’s picture

sillygwailo’s picture

Version: 6.x-1.0 » 6.x-1.x-dev
fago’s picture

Version: 6.x-1.x-dev » 7.x-2.x-dev
Status: Active » Patch (to be ported)

New features go into 7.x now - however if someone wants to take over backporting it to 6.x, that would be fine!

In 7.x that should be fine, perhaps give it a test and try whether it makes sense to you.

fago’s picture

Status: Patch (to be ported) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

g089h515r806’s picture

Component: User interface » User Interface
Status: Closed (fixed) » Active

Is it possible that clone a sub-rule which in ruleset?

g089h515r806’s picture

I have a ruleset "build breadcrumb for node", in this ruleset, it contain:
" build breadcrumb trail for node type page"
" build breadcrumb trail for node type article"
" build breadcrumb trail for node type book"
" build breadcrumb trail for node type review"
....

For a sub-rule,there is only edit and delete links. It will be better if there is clone link. If I want to add a rule to this ruleset, for example ""build breadcrumb trail for node type question". i could clone " build breadcrumb trail for node type review" and rename it to " build breadcrumb trail for node type question", then make some small changes.

tr’s picture

Issue summary: View changes
Status: Active » Closed (works as designed)

The original feature request was for cloning rules. That feature was added and the issue was closed in #8.

I don't know why, three years later, this same issue was re-opened for a different feature. But if you still want to be able to clone parts of rules, then please open a NEW issue for that feature. However, it doesn't sound like there's a lot of community interest in seeing that happen.

Note that new features should go into 8.x-3.x at this point, then backported if needed as per Drupal development guidelines.