Hi,
I am Laszlo from Hungary. Used to work with yii-1.1.10 but tried yii-1.1.12.
I have something strange with yii-1.1.12. When gii generates the model, the relations array remains empty. Everything works with yii-1.1.10, with the same tables. So i think something happened with the latest yii. Is there a bug?
os: Win7 64, win 7 32
web server: wamp
browser: latest firefox and chrome
yii-version: 1.1.12
Thanks
Page 1 of 1
Gii Generates Models Without Relations Array, Yii1.1.12
#2
Posted 13 November 2012 - 10:47 AM
Hi Everybody, i think problem solved, there was no any bug here. It was connected to yii-user extension's tablePrefix option. If you generate a model from a table named without prefix, you have to delete the prefix from the gii generate options for sure, because the deafult option was 'tbl_' due to yii-user's settings i think.
Sorry about it, but hope someone can learn from it also.
Bye
Sorry about it, but hope someone can learn from it also.
Bye
Share this topic:
Page 1 of 1

Help
This topic is locked










