# |
Oct 22nd 2009, 15:52 |
jessica-m |
https://trac.cakephp.org/ticket/5579 |
# |
Oct 22nd 2009, 15:51 |
jessica-m |
when i update a user to have fewer groups, it isnt deleting the previous groups in the table |
# |
Oct 22nd 2009, 15:50 |
jessica-m |
i can delete users fine |
# |
Oct 22nd 2009, 15:50 |
jessica-m |
yeah |
# |
Oct 22nd 2009, 15:50 |
dogmatic69 |
does cake un and pw have del priv in mysql? |
# |
Oct 22nd 2009, 15:49 |
jessica-m |
yeah |
# |
Oct 22nd 2009, 15:49 |
dogmatic69 |
jessica-m: still the delete? |
# |
Oct 22nd 2009, 15:49 |
jessica-m |
does anyone have any idea why that would happen? i just want to know what i could have done to affect that |
# |
Oct 22nd 2009, 15:47 |
alan|macbook |
i feel like i'm going to have a hard night working... |
# |
Oct 22nd 2009, 15:47 |
alan|macbook |
dogmatic69 : ooookayyyyy |
# |
Oct 22nd 2009, 15:46 |
dogmatic69 |
alan|macbook: you will need to hack the code in the helper :) |
# |
Oct 22nd 2009, 15:45 |
alan|macbook |
dogmatic69 : ok. Now it's time to use this tree helper to generate checkboxes. Any idea about how to do that ? |
# |
Oct 22nd 2009, 15:43 |
jessica-m |
what would cause my save function to not remove habtm rows before saving? |
# |
Oct 22nd 2009, 15:43 |
gimlilongbow |
Ah, it has to do with the way I'm setting the _explicitType property of the arrays. Fun. Thanks for the help, guys. |
# |
Oct 22nd 2009, 15:40 |
gimlilongbow |
Jagaroth: any suggestions? |
# |
Oct 22nd 2009, 15:39 |
n3rdbeere |
no, you didn't |
# |
Oct 22nd 2009, 15:38 |
gimlilongbow |
Jagaroth: did I miss anything? |
# |
Oct 22nd 2009, 15:38 |
n3rdbeere |
i accidentally the whole irc |
# |
Oct 22nd 2009, 15:37 |
gimlilongbow |
Agh, I disconnected accidentally. |
# |
Oct 22nd 2009, 15:34 |
gimlilongbow |
Or it would be if I hit the right button: http://bin.cakephp.org/view/1436843275 |
# |
Oct 22nd 2009, 15:33 |
alkemann |
~logs |
# |
Oct 22nd 2009, 15:33 |
gimlilongbow |
Jagaroth: updated: http://bin.cakephp.org/pastes/edit/51781 |
# |
Oct 22nd 2009, 15:32 |
gimlilongbow |
No, that pastebin shows the debug of the Set::map($results). Oh, you wanted the results. Sorry, one sec. |
# |
Oct 22nd 2009, 15:31 |
Jagaroth |
gimlilongbow: You are executing Set::map($results)... the pastebin shows $results? |
# |
Oct 22nd 2009, 15:31 |
gimlilongbow |
Um, I thought set::map() went from array to object. |
# |
Oct 22nd 2009, 15:30 |
Jagaroth |
gimlilongbow: Doesn't map() go the other way? |
# |
Oct 22nd 2009, 15:30 |
jessica-m |
does anyone have any idea why that would happen? |
# |
Oct 22nd 2009, 15:29 |
gimlilongbow |
Jagaroth: here's the output: http://bin.cakephp.org/view/1436843275 |
# |
Oct 22nd 2009, 15:28 |
gimlilongbow |
Okay, let me trim it down to just the trouble area. One sec. |
# |
Oct 22nd 2009, 15:28 |
Jagaroth |
gimlilongbow: Add debug($results) to the pastebin. |
# |
Oct 22nd 2009, 15:27 |
gimlilongbow |
Here's my code which actually does the Containable behavior that generates the results: http://bin.cakephp.org/view/1585860775 |
# |
Oct 22nd 2009, 15:26 |
gimlilongbow |
debug( Set::map($results) ); |
# |
Oct 22nd 2009, 15:26 |
Jagaroth |
gimlilongbow: Let's see PostsController::test() - APP/controllers/posts_controller.php, line 279 |
# |
Oct 22nd 2009, 15:25 |
gimlilongbow |
Jagaroth: here's the paste of my stack trace: http://bin.cakephp.org/view/1094605136 |
# |
Oct 22nd 2009, 15:23 |
jessica-m |
cake doesnt seem to be deleting rows from the groups table before inserting them - what would cause that? |
# |
Oct 22nd 2009, 15:23 |
gimlilongbow |
In the Set::map( $results ) of a find('all') with a Containable behavior attached. |
# |
Oct 22nd 2009, 15:23 |
Jagaroth |
gimlilongbow: Where in your code is the problem? |
# |
Oct 22nd 2009, 15:22 |
FMC |
Is there a way to set the order of join with hasOne ? |
# |
Oct 22nd 2009, 15:22 |
Jagaroth |
Sure. |
# |
Oct 22nd 2009, 15:22 |
gimlilongbow |
Jagaroth: The Context link in the Debut panel, right? |
# |
Oct 22nd 2009, 15:22 |
dhodgkin |
I need something that has SEO, and features similar to magento. but without the major PITA that magento causes. |