I link models together:

Fileserver hasMany Share
Share belongsTo Fileserver
Share hasMany Permissionmanagement
Permissionmanagement belongsTo Share

Now i have a virtualField
'unc' => 'CONCAT("Fileserver.servername, Share.share)'

When i try to execute $this->Permissionmanagement->find('all') i get
an sql error like:

Error: SQLSTATE[42S22]: Column not found: 1054 Unknown column
'Fileserver.servername' in 'field list'

Is there a way to get the virtualField on the correct linking?

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to