I upgraded from vesion 1.0.0.2378 to version 1.1.3.2967 and suddendly
a record I fetched with
$this->set('data', $this->Bodega->read())
Used to return:
Array
(
    [Bodega] => Array
        (
            [id] => 4
            [nombre] => SUCURSAL MERLIOT
            [activo] => 1
        )

    [Existencia] => Array
        (
            [0] => Array
                (
                    [id] => 7
                    [empresa_id] => 1
                    [bodega_id] => 4
                    [producto_id] => 3
                    [cantidad] => 45.00
                    [created] => 2006-05-28 17:08:09
                    [modified] => 2006-05-28 17:08:09
                    [activo] => 1
                    [Empresa] => Array
                        (
                            [id] => 1
                            [nombre] => PROPIEDADES, S.A. DE C.V.
                            [direccion] => SAN SALVADOR
                            [nit] =>
                            [registro] =>
                            [giro] =>
                            [telefono] =>
                        )

                    [Producto] => Array
                        (
                            [id] => 3
                            [linea_id] => 3
                            [unidad_id] => 1
                            [plu] => 01010101
                            [descripcion] => CAMISA DE VESTIR OXFORD T-M
                            [costo] => 6.55
                            [porcentage] => 0.00
                            [precio_lista] => 10.00
                            [created] => 2006-05-27 19:53:43
                            [modified] => 2006-05-27 19:53:43
                            [activo] => 1
                        )

                )

Now in only returns:

Array
(
    [Bodega] => Array
        (
            [id] => 4
            [nombre] => SUCURSAL MERLIOT
            [activo] => 1
        )

    [Existencia] => Array
        (
            [0] => Array
                (
                    [id] => 19
                    [empresa_id] => 1
                    [bodega_id] => 4
                    [producto_id] => 3
                    [cantidad] => 33.00
                    [created] => 2006-05-28 10:35:38
                    [modified] => 0000-00-00 00:00:00
                    [estaactivo] => 1
                )

As I mentioned before I only upgraded to the lestest version.
Can anyone tell me what changed? do I how to reset the level of
recursiveness? if so where?
Thanks anyone.

On 6/1/06, Marcelo de Moraes Serpa <[EMAIL PROTECTED]> wrote:
> After a massive controllers update, I´ve started to have problems with data
> fetching in my cake application. Even though Cake permorms all the SQL
> queries correctly, the data is returned in a different format. What was,
> $data['pictures']['filename'] suddenly became $data['filename']['filename'].
> Also, when trying to access the scaffolding "index" action of one of my
> controllers, I´ve got a fata error (there´s also a Notice that didn´t happen
> before). See yourself:
>
> http://www.chapeco-online.com.br/website/pictures/index
>
> I just don´t know what caused this. Maybe it´s something silly. If anyone
> could help me in any way, I would be grateful!
>
> Marcelo.
>
>
>
>  >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
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