#5819: CakePHP Revision 7896: HABTM Issue (deleting one relation deletes other
relations)
-------------------------------+--------------------------------------------
Reporter: milmarqtan | Owner:
Type: Bug | Status: reopened
Priority: Critical | Milestone: 1.2.x.x
Component: Model | Version: RC3
Severity: Critical | Resolution:
Keywords: HABTM Delete | Php_version: PHP 5
Cake_version: 1.2.0.7692 RC3 |
-------------------------------+--------------------------------------------
Changes (by Thalagyrt):
* status: closed => reopened
* resolution: fixed =>
Comment:
And I will point you back to the fact that I have a primary key in the
table. Read my updates.
PRIMARY KEY (blog_id,comment_id), KEY comment_id (comment_id), KEY blog_id
(blog_id)
And more to the point that you're just dismissing me and not reading my
ticket is the fact that I'm calling delete here, not save to update a
record.
--
Ticket URL: <https://trac.cakephp.org/ticket/5819#comment:11>
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
-~----------~----~----~----~------~----~------~--~---