#5602: problemas con cakephp and firebird ---------------------------------+------------------------------------------ Reporter: luciano | Owner: Type: Bug | Status: new Priority: High | Milestone: Component: Firebird | Version: RC3 Severity: Major | Resolution: Keywords: habtm & Firebird | Php_version: PHP 5 Cake_version: 1.2.0.7692 RC3 | ---------------------------------+------------------------------------------ Comment (by villas):
For those that don't know Spanish...[[BR]] I tried to do an example of Posts and Tags using HABTM with the FirebirdDB but when I use find() it returns the Posts data but not the associated Tags. I tried the same example using MySql and it works well. I believe that the Firebird driver is failing. When I eliminate the association and run the query: [[BR]] $this->Post->query("SELECT Post.id,Post.cuerpo,Post.fecha,Tag.id,Tag.nombre FROM posts AS Post,tags AS Tag,posts_tags AS PostsTag WHERE ((Post.id=PostsTag.post_id)AND(PostsTag.tag_id=Tag.id));"); it responds perfectly, I mean it returns the Tags associated with the Posts. -- Ticket URL: <https://trac.cakephp.org/ticket/5602#comment:1> CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/> Cake is a rapid development framework for PHP which uses commonly known design patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. Our primary goal is to provide a structured framework that enables PHP users at all levels to rapidly develop robust web applications, without any loss to flexibility. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "tickets cakephp" group. To post to this group, send email to tickets-cakephp@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/tickets-cakephp?hl=en -~----------~----~----~----~------~----~------~--~---