With Form Defaults 6.x-2.x-dev (2010-Feb-04) I can only do exactly one single action on the same node. I was able to do so with previous 6.x-6.x-dev versions.

Here is my case: On admin/user/user/create I checked the [+] Hide this field checkbox on the "Provide a password for the new account in both fields." form. Until here it works. When you go to the same Form Defaults enabled node again and just want to uncheck the box that was checked previously, the following error message occurs:

user warning: Duplicate entry 'user_register' for key 'PRIMARY' query: INSERT INTO formdefaults_forms (formid, formdata) VALUES ('user_register','a:1:{s:4:\"pass\";a:4:{s:5:\"title\";s:0:\"\";s:11:\"description\";s:54:\"Provide a password for the new account in both fields.\";s:7:\"hide_it\";i:0;s:6:\"weight\";s:5:\"unset\";}}') in /etc/drupal/all/modules/formdefaults/formdefaults.module on line 354.

The tried change did not get honored.

Comments

metzlerd’s picture

Status: Active » Fixed

Fixed and just commited. Will be corrected in next snapshot build.

roball’s picture

Thank you - I am now using Form Defaults 6.x-2.x-dev (2010-Feb-18) and the problem no longer persists.

Status: Fixed » Closed (fixed)

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