#5602: problemas con cakephp and firebird
---------------------------------+------------------------------------------
Reporter: luciano | Type: Bug
Status: new | Priority: High
Milestone: | Component: Firebird
Version: RC3 | Severity: Major
Keywords: habtm & Firebird | Php_version: PHP 5
Cake_version: 1.2.0.7692 RC3 |
---------------------------------+------------------------------------------
Language: spanish.
He probado hacer el ejemplo de posts y tags con una asociación HABTM con
una base de datos Firebird y cuando realizo un find() me devuelve los
datos de los posts pero no de los tags asociados. Probe el mismo ejemplo
en una base de datos MySQL y funciono bien. Por lo que pienso que debe
estar fallando el driver que usa cakephp para el manejo de Firebird.
Cuando elimino la asociacion y hago la consulta usando
$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));"); me responde
perfecto, o sea, me devuelve los tags asociados a los posts. Me pueden
responder en Inglés.
--
Ticket URL: <https://trac.cakephp.org/ticket/5602>
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 [email protected]
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
-~----------~----~----~----~------~----~------~--~---