-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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 in Models Meta-Data Component? Wrong table requested if source-variable of model changed. #2415
Comments
Your usage has been damage to the Models Meta-Data, you can overrider method |
so, is this a bug in the Models Meta-Data component? i dont want to override the method. But if so, what would be the advantage? The requested columns are correct, but only the table-name is wrong. |
I'm sorry, before didn't watch carefully, I again under test. |
Hi,
I use latest Phalcon 1.3.2 on OpenSuse.
I have a (one) model-class in which I set the source and database dynamically.
The class has the following definition:
in this example i have two tables: fccode_area and fccode_symbol.
This is what i found out:
Take a look at the query-log:
Phalcon takes the columns from the area-table but queries symbol-table...
It is strange, that in the "DESCRIBE"-query the table-name is correct, but finally the wrong will be used...
Swen
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: