In testing Rules using the D7 core Bartik theme, I've noticed that on many occasions (but not always), the "Delete" link under "Operations" goes to the incorrect Condition or Action. It's especially strange because sometimes you will try to delete a specific condition and the delete link will take you to the delete confirmation page for an action instead.

To reproduce, you'll probably need to set-up 3 or so conditions and 3 or so actions.

Let me know if you need more info...

Thanks,
Ben

Comments

fago’s picture

Component: User Interface » User interface
Status: Active » Postponed (maintainer needs more info)

indeed, I also noticed similar behavior. Thus I improved this logic some days ago: http://drupal.org/cvs?commit=395524

Do you have this problems also with a recent version of the module?

BenK’s picture

Status: Postponed (maintainer needs more info) » Active

Hey fago,

Yes, I'm mirroring your github branch and am totally up to date (as of Thursday, July 29). So I think the problem still exists in the latest version of the module.

Incidentally, I noticed this issue when testing the D7 port of the Userpoints module (and its Userpoints Rules sub-module). So could there be different UI bugs for conditions and actions supplied by external modules?

Cheers,
Ben

P.S. Great to meet you and chat at Drupalcon San Francisco!

fago’s picture

Status: Active » Fixed

ops, you are right. Indeed I broke that with the mentioned commit. I've committed a fix, please test.

Status: Fixed » Closed (fixed)

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