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

Fixed bug with relation One not receipt #209

Merged
merged 1 commit into from
May 2, 2014

Conversation

avilchinsky
Copy link
Contributor

No description provided.

@avilchinsky
Copy link
Contributor Author

I found bug with such relation:
'groupRef' => ['one', 'Tag', '_id', 'on' => 'group'],
And when I executed $model->froupRef - It didn't return Tag model.
I began to look deeper and found a reason. It was fixed and I did the pull request. You can test it. It really work now,

@Sammaye
Copy link
Owner

Sammaye commented May 2, 2014

Ah is the PK in Tag an array?

@Sammaye
Copy link
Owner

Sammaye commented May 2, 2014

Have you unit tested this?

Sammaye added a commit that referenced this pull request May 2, 2014
Fixed bug with relation One not receipt
@Sammaye Sammaye merged commit 020a298 into Sammaye:master May 2, 2014
@Sammaye
Copy link
Owner

Sammaye commented May 2, 2014

Ok Ima pull and make some changes, it isn't caching relations and stuff here

Sammaye pushed a commit that referenced this pull request May 2, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants