Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug nos relacionamentos utilizando Firebird #63

Open
ghost opened this issue Oct 11, 2013 · 2 comments
Open

Bug nos relacionamentos utilizando Firebird #63

ghost opened this issue Oct 11, 2013 · 2 comments
Labels

Comments

@ghost
Copy link

ghost commented Oct 11, 2013

Created by Predominant, 9th Dec 2009. (originally Lighthouse ticket #15):


(Reported by: wladiston)

O que aconteceu

Quando utilizado o banco Firebird o nome do modelo que estou recuperando e os objetos relacionados não retornam, independente do relacionamento entre eles (HABTM, hasMany, ...):

What happened#

When using the database Firebird the model name that I am recovering and related objects do not return, regardless of the relationship between them (HABTM, hasMany, ...):

$this->Model->find('first');
/*
Return:
Array
(
    [0] => Array    // here would be the model name: [Model] => Array   // aqui estaria o nome do modelo: [Model] => Array
        (
            [id] => 83
            [field1] => value1
            [field2] => value2
            [field3] => value3
        )

    [AssociatedModelName] => Array    // The associated model always returns empty
        (
        )
)
*/

O que era esperado

Era esperado que retornasse assim:

What was expected

Expected to return this:

Array
(
    [Model] => Array
        (
            [id] => 83
            [field1] => value1
            [field2] => value2
            [field3] => value3
        )

    [AssociatedModelName] => Array 
        (
            [id] => 83
            [field1] => value1
            [field2] => value2
            [field3] => value3
        )
)
@ghost
Copy link
Author

ghost commented Oct 11, 2013

10th Dec 2009, Predominant said:


(Comment by: wladiston)

Changes:
priority:high

@ghost
Copy link
Author

ghost commented Oct 11, 2013

10th Dec 2009, Predominant said:


(Comment by: wladiston)

Changes:
description:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

0 participants