Cannot enable/disable Blocks while Form Single is enabled

jrstmartin - September 18, 2006 - 16:11
Project:Form single
Version:4.7.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:robertDouglass
Status:closed
Description

When Form Single is enabled > go to Administer > Blocks > you cannot enable or disable any blocks. Nothing happens and no confirmation message is displayed. If you disable Form Single at Administer > Modules > you can then enable and/or disable Blocks. This is exactly what happens on my set up (Drupal 4.7.3) - the problems are directly related.

#1

robertDouglass - September 18, 2006 - 18:06
Assigned to:Anonymous» robertDouglass
Status:active» fixed

thanks for reporting. I fixed this by not running formsingle on admin forms since we should be able to trust admins. If anybody knows why the blocks form was failing and can suggest a less tacky fix, please do.

#2

jrstmartin - September 19, 2006 - 10:53

So how do you not run Form Single on admin forms?

#3

robertDouglass - September 19, 2006 - 13:15

Through brutal h4ckory =) I looked to see if the first path argument is 'admin', and if it is, I ignored the form. It's a hack. But since I don't have time at this precise moment to delve deeper into why the blocks form wasn't working, this at least lets you use the module and keep people on your site from submitting duplicate junk. A better solution is welcome.

#4

Anonymous - October 3, 2006 - 13:15
Status:fixed» closed

#5

donricha - August 7, 2007 - 18:47

I cannot find "form single"? Thus, I cannot disable it.
I am using 5.1.

#6

donricha - August 7, 2007 - 18:47

I cannot find "form single"? Thus, I cannot disable it.
I am using 5.1.

#7

donricha - August 7, 2007 - 18:47

I cannot find "form single"? Thus, I cannot disable it.
I am using 5.1.

 
 

Drupal is a registered trademark of Dries Buytaert.