Re: Possible bug in Tree, recover

2010-06-24 Thread AD7six
On Jun 23, 6:26 pm, cricket zijn.digi...@gmail.com wrote: On Wed, Jun 23, 2010 at 4:12 AM, AD7six andydawso...@gmail.com wrote: On Jun 23, 9:38 am, Erik Starck erik.sta...@gmail.com wrote: On Tue, Jun 22, 2010 at 6:56 PM, cricket zijn.digi...@gmail.com wrote: Interesting. You should

Re: Possible bug in Tree, recover

2010-06-23 Thread Erik Starck
On Tue, Jun 22, 2010 at 6:56 PM, cricket zijn.digi...@gmail.com wrote: Interesting. You should post a ticket here: http://cakephp.lighthouseapp.com/dashboard Ok, I added it: http://cakephp.lighthouseapp.com/projects/42648-cakephp/tickets/848-save-bug-in-treebehaviorrecover Erik S.

Re: Possible bug in Tree, recover

2010-06-23 Thread AD7six
On Jun 23, 9:38 am, Erik Starck erik.sta...@gmail.com wrote: On Tue, Jun 22, 2010 at 6:56 PM, cricket zijn.digi...@gmail.com wrote: Interesting. You should post a ticket here: http://cakephp.lighthouseapp.com/dashboard Ok, I added

Re: Possible bug in Tree, recover

2010-06-23 Thread cricket
On Wed, Jun 23, 2010 at 4:12 AM, AD7six andydawso...@gmail.com wrote: On Jun 23, 9:38 am, Erik Starck erik.sta...@gmail.com wrote: On Tue, Jun 22, 2010 at 6:56 PM, cricket zijn.digi...@gmail.com wrote: Interesting. You should post a ticket here: http://cakephp.lighthouseapp.com/dashboard

Possible bug in Tree, recover

2010-06-22 Thread Erik Starck
Hi group! My first post to this list so here goes... I may have found a bug in the recover method in Tree.php, cake 1.3.2. I was getting an SQL error when calling recover: SQL Error: 1062: Duplicate entry '20' for key 'PRIMARY' Here is an example of the SQL: UPDATE `categories` SET `id` = 20,

Re: Possible bug in Tree, recover

2010-06-22 Thread cricket
Interesting. You should post a ticket here: http://cakephp.lighthouseapp.com/dashboard On Tue, Jun 22, 2010 at 9:22 AM, Erik Starck erik.sta...@gmail.com wrote: Hi group! My first post to this list so here goes... I may have found a bug in the recover method in Tree.php, cake 1.3.2. I was