fail :D
In the VillageModel was a condition, which was wrong baked so it
couldn't work.
*Thumbup*
On Sep 24, 8:10 pm, cricket <zijn.digi...@gmail.com> wrote:
> On Fri, Sep 24, 2010 at 10:18 AM, Senpu <kh...@gmx.de> wrote:
> > The problem is, i do not execute the query on will..
>
> > There is a database-class-relation between the two Controllers
> > "BuildingController" and "VillageController"
>
> > Each Building got a villages_id in database. So Cake does auto-
> > magically connect the two controllers with each other.
> > When i now go to view action of VillageController with the id of a
> > village then Cake tries to get all Buildings with villages_id = 1
> > (that's what i assume, the query seems to verify this)
>
> > I didn't change anything in these conrollers/models, they're just like
> > after baking.
>
> Post the model associations. It looks like you have a 'conditions' or
> 'finderQuery' or similar using the wrong name.
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
No comments:
Post a Comment