Page 137 of 211,267, showing 20 records out of 4,225,321 total, starting on record 2,721, ending on 2,740
# | Username | Text | |
---|---|---|---|
# | Aug 7th 2008, 08:52 | perilousapricot | pbcd: sorry, budddy |
# | Aug 7th 2008, 08:52 | pgcd | ok, thanks anyway =) |
# | Aug 7th 2008, 08:54 | pgcd | there must be a rule collision somewhere, but it's kinda working now |
# | Aug 7th 2008, 09:05 | FunkyWeasel | Good afternoon. |
# | Aug 7th 2008, 09:05 | moelee | anyone awake here |
# | Aug 7th 2008, 09:06 | FunkyWeasel | I'm currently working on migrating our codebase from cakephp1.1 to cakephp1.2. I've managed to avoid most of the obvious pitfalls (.ctp, App::Import and other hillarity) but I've got something odd happening with one of our models. |
# | Aug 7th 2008, 09:07 | foxmask | hmm que ca m'enevere l'upload de fichier qui deconne |
# | Aug 7th 2008, 09:07 | moelee | FunkyWeasel: just say the problem |
# | Aug 7th 2008, 09:07 | foxmask | il me colle le fichier dan,s le rep temporaire puis le systeme me le vire avant que j'ai le temps de le copier |
# | Aug 7th 2008, 09:07 | FunkyWeasel | It's got a recursive relationship defined, representing a mysql table with hierarchical records. When I don't comment out the relationships the page fails to render or drop any related info in php log, cakephp log or syslog. |
# | Aug 7th 2008, 09:08 | moelee | hah no worries |
# | Aug 7th 2008, 09:08 | FunkyWeasel | Does cakephp 1.2 support recursive model relationships? |
# | Aug 7th 2008, 09:09 | moelee | hm |
# | Aug 7th 2008, 09:09 | FunkyWeasel | E.g. In Category model: var $belongsTo = array("Parent" => array('className' => 'Category','foreignKey' => 'parent')); |
# | Aug 7th 2008, 09:09 | moelee | i've never tried it |
# | Aug 7th 2008, 09:09 | moelee | i have done recursive habtm |
# | Aug 7th 2008, 09:10 | moelee | and that seems to work successfully because there is a join table involved |
# | Aug 7th 2008, 09:10 | moelee | that makes the relations explicit |
# | Aug 7th 2008, 09:10 | FunkyWeasel | Aye, we've not done that yet with other relations because we're only just moving to 1.2 now :) |
# | Aug 7th 2008, 09:11 | FunkyWeasel | It's odd that the above code worked in 1.1 without issues though, but causes (what I assume to be) an overflow error. |