It seems as though the form_id field is required when adding a rule but it not present in the db table. I added it and things seem to work.

ALTER TABLE `sifr` ADD `form_id` VARCHAR( 56 ) NOT NULL AFTER `paddingleft` ;
CommentFileSizeAuthor
#3 sifr_form_id.patch438 bytesq0rban

Comments

omar’s picture

ooooops... forgot to say... this was using the cvs sifr with 4.7.0.

urbanfalcon’s picture

This was my problem too. When I ran that ALTER, everything snapped into place.

q0rban’s picture

StatusFileSize
new438 bytes

the problem isn't that the form_id field was left out of the table structure... it's that 'form_id' shouldn't be getting inserted into the table at all... i'm not sure why it's happening, as it wasn't happening in any of the 4.7 beta versions of drupal... but once i upgraded to 4.7, i encountered the problem as well..

i've attached a patch that temporarily fixes the problem by unsetting the 'form_id' key from the $edit array... I couldn't determine where it was coming from... but, it's a better fix than above...

q0rban’s picture

Title: form_id field missing... » form_id being inserted into sifr table..
Status: Active » Needs work
zroger’s picture

can anyone verify if this is still happening using the latest version??

sun’s picture

Version: master » 4.7.x-1.0
Status: Needs work » Fixed

No problems with latest sifr release on a fresh Drupal 4.7 installation. I guess this is fixed then.

Anonymous’s picture

Status: Fixed » Closed (fixed)