Re: CakePHP 3.1.1 - deleteAll when using condition NOT IN array fails

2016-01-04 Thread José Lorenzo
Ok, you ask again if you stumble upon the problem again :) On Sunday, January 3, 2016 at 10:35:49 PM UTC+1, glk wrote: > > Running cakePHP 3.1.1 > > Well, I have to admit I really don't understand this... I removed the > comments around the deleteAll code above, and commented out the loop of >

Re: CakePHP 3.1.1 - deleteAll when using condition NOT IN array fails

2016-01-03 Thread glk
Running cakePHP 3.1.1 Well, I have to admit I really don't understand this... I removed the comments around the deleteAll code above, and commented out the loop of ->deletes. Now, I cannot recreate the error! I checked my git repository, and there were no changes to the code, so maybe it has

Re: CakePHP 3.1.1 - deleteAll when using condition NOT IN array fails

2016-01-03 Thread José Lorenzo
What version of cakephp are you using? What is the full error and the SQL query? On Tuesday, December 29, 2015 at 7:54:41 PM UTC+1, glk wrote: > > Hello, > > A function in OpSpTable.php uses the following code: > > $op_id = 18; >> > $actualUsed = [2, 101]; >> > >> >