Gii Generates Models Without Relations Array, Yii1.1.12

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

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