sarvan75 / yii-user-management

Automatically exported from code.google.com/p/yii-user-management
0 stars 0 forks source link

create and edit fields not working #198

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. install application
2. run application
3. var_dump($model->attributes); in YumFieldsController
4. edit or add fields in the admin area

What is the expected output? What do you see instead?
Expect to see data posted from fields form but empty array

What version of the product are you using? On what operating system?
IOS Mac MAMP yii-1.1.12 yum

Please provide any additional information below.
This was an issue from installation and adding the dump showed the fields(edit 
or create) form wasn't posting. I have not altered the controllers or modules 
otherwise.

Original issue reported on code.google.com by mmguide2...@googlemail.com on 14 Sep 2012 at 5:52

GoogleCodeExporter commented 9 years ago
Failed to set unsafe attribute ....    for all fields

Original comment by mmguide2...@googlemail.com on 15 Sep 2012 at 2:34

GoogleCodeExporter commented 9 years ago
I have resolved this by placing validation rules in the YumProfileField.php. 
Might be useful to place a note to warn developers this needs to be done.

Original comment by mmguide2...@googlemail.com on 16 Sep 2012 at 11:32

GoogleCodeExporter commented 9 years ago
i have same problem too

Original comment by tiagofm....@gmail.com on 19 Dec 2012 at 1:18