Hi

Does anybody know why the relate type custom field added via manifest file does not show in the Edit or Detail View?

It is intennded to add a custom field in the cases module to be able to relate a single case to a single product, everything works just fine, I was able to add the custom field via studio un edit and detail view.

If I save a record it saves the relation succesfully but nver shows the name because there is never a value for case_related_product_c_name

I've managed do plunge into the code and there is an error in the fill_relationships() function at line 168 of DynamicField.php

PHP Code:
if(file_exists($beanFiles[$class]) && isset($this->bean->$name)){ 
this allways fails because there is no value for $this->bean->$name ever ever!!!!

Please help!!!!

Here is a part of my manifest file

PHP Code:
'custom_fields'=>array (
                     array (
                          
'name'=> 'product_version',
                          
'label'=>'Version'
                          
'type'=>'varchar',
                          
'max_size'=>255,
                          
'require_option'=>'optional'
                          
'default_value'=>' '
                          
'ext1' => '',
                          
'ext2' => '',
                          
'ext3' => '',
                          
'audited'=>0
                          
'module'=>'Product',
                        ),        
                        array (
                            
'name'=>'case_related_product',
                            
'label'=>'Product',
                            
'type'=>'relate',
                            
'max_size'=>36,
                            
'require_option'=>'optional',
                            
'default_value'=>'',
                            
'ext1'=>'name',
                            
'ext2'=>'Product',
                            
'ext3'=>'',
                            
'audited'=>0,
                            
'module'=>'Cases',
                        ),
                        
                    ),