The module makes a multidimensional array out of the $edit variable (by adding the user roles capable of using the form), and then when a new field is requested to be added, tries to store the array elements in hidden form fields to preserve their values. Multidimensional arrays are not to be htmlspecialchars()-ed (neither passed on as usual strings anyway), so the new field addition loses the role information. I don't have a good idea how to solve the problem, but it is quite nasty...

Comments

ullgren’s picture

Assigned: Unassigned » ullgren
Priority: Critical » Normal

What browser do you use ?
I can't reproduce this error, using Mozilla Firefox 0.9.3, Galeon 1.3.17 or Opera 7.
I also know that have I used this kind of "trick" to pass multidimensional array thru forms in other applications aswell.

Since this seems to be browser dependent I demote it to normal.

ullgren’s picture

Any news ??
Still getting this error ??

Gábor Hojtsy’s picture

I am not using the module anymore, so if you cannot reproduce it, then it might not be a problem... I was in admin mode, if that helps...

ullgren’s picture

Ok ... closing since I can't reproduce the error.