removing or editing a destination link with a slash in the ID form is impossible

rolfmeijer - June 18, 2009 - 12:27
Project:Custom (Form) destination
Version:6.x-1.x-dev
Component:Miscellaneous
Category:bug report
Priority:normal
Assigned:flevour
Status:closed
Description

I accidently added a custom destination with the following ID: user/login (instead of the proper user_login). Now I cannot remove or edit it. When I click “edit” a new custom destination will be added, when I click delete it asks:

“Are you sure you want to delete custom destination for ?”

Where apparently the Form ID is empty. When clicking “Confirm”, I’m redirected to the list and nothing has happened. My guess is it is the slash that is causing the trouble.

#1

flevour - July 4, 2009 - 20:57
Assigned to:Anonymous» flevour
Status:active» fixed

Alas it's not possible to remove it as slashes in the Form ID will appear in the edit/delete URLs. You should manually delete the wrong entries from the customdestination table in the db.
I added a stricter validity check to form id inputs to ensure this doesn't happen again.
Thank you very much for your report,
Francesco

#2

rolfmeijer - July 8, 2009 - 09:51

Ah, too bad, well it’s not that much of a problem.
Thanks.

#3

System Message - July 22, 2009 - 10:00
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.