Second Model dissapear on chronoconectivity

Second model disappears when saving a ChronoConnectivity relationship.

Overview

The issue occurs when adding a WHERE condition to connect two models, causing the second model to not save properly.
Clear the application cache to resolve the saving issue and restore the model connection.

Answered
yu yusufo 23 Apr, 2016
Hi,

I have my main model that is called Demandante that works great.

When I add a second model called Relacion and add a where condition:
<?php
return array("Demandante.relacion" => "Relacion.idRelacion");
?>


the model Relacion dissapear when I press "Save" button.

I am tying to make this query:

Select r.relacion
from z2ma5_sioa_demandante d,sioa-demRelacion r
where d.relacion = r.idRelacion;


Can you help me? Thanks,

Joaquín
This topic is locked and no more replies can be posted.