For a cck field with Addnode widget, it works if select items in a list. But when create a new item (reference node) in a form on the same page and submit it, I get the warning below without a new node created:
An illegal choice has been detected. Please contact the site administrator.
Comments
Comment #1
el_baby commentedI'm having the same problem here... I'll add some info that I hope will help pinpoint the cause (I still can't read/understand drupal modules to be of actual help in solving this, sorry).
I created 3 cck types: person, organization, project.
Projects can (should) be created from within the form where you create a person or organization related to that project. When I create a project using its own form, it works OK, but when I create it from within the subform in the person or organization form I get the same error as astra does. That is, the main form's object (e.g. the person) does get created, but the subform's object (the project) doesn't.
BUT... if I'm logged in as the site administrator (almighty), the process goes thru just fine (that is, both objects get created right), so I strongly suspect a permission's problem.
I have the permissions set so that authenticated users can create all 3 kinds of objects, but can only edit objects (of the 3 types) created by themselves, that is, they have, something like this:
in the column for authenticated users en admin/user/access.
BTW, is anyone paying any attention to these bug reports?
Regards.
Comment #2
astra commentedBut I also can't create a new item from subforms with administrator permission (user id = 1).
Comment #3
Lionfish commentedI wasn't able to duplicate these errors you both had,
If you could try it with version 1.1 (which works in a very different way) that'd be useful. Thanks!
If it still doesn't work I'll try to replicate the problem.
Thanks for helping with testing etc!
Comment #4
el_baby commentedIt works for me in 1.1!!!
BUT... see http://drupal.org/node/138549#comment-238105
Comment #5
Lionfish commentedHopefully it's fixed then :)
Comment #6
(not verified) commented