Log message #1109078

# At Username Text
# Oct 22nd 2009, 05:14 ixopo -(
# Oct 22nd 2009, 05:14 swordz OK, that was my best guess.
# Oct 22nd 2009, 05:13 ixopo swordz i changed the name to testcase now http://bin.cakephp.org/view/301974892 still getting the same error Array to string conversion [CORE/cake/libs/validation.php, line 598]
# Oct 22nd 2009, 05:10 swordz You need it to go 'I don't have that rule, lets check the conents of this array'
# Oct 22nd 2009, 05:10 ixopo swordz http://bin.cakephp.org/view/1556117243
# Oct 22nd 2009, 05:10 swordz It's doing a foreach, getting to maxLength, going 'I have that rule' then doing it
# Oct 22nd 2009, 05:10 swordz ixopo Try changing the name of the maxLength key in the file array
# Oct 22nd 2009, 05:10 dakota stop watching movies :)
# Oct 22nd 2009, 05:10 ixopo lol
# Oct 22nd 2009, 05:09 dakota lol
# Oct 22nd 2009, 05:09 Mike_MnD dakota: sorry for the question but don't knw why every time i see you righting i imagine Dakota Fanning :D
# Oct 22nd 2009, 05:09 dakota ^ I though that topic had been discussed at length already
# Oct 22nd 2009, 05:09 ixopo i just wanted to add the MaxLength Rule
# Oct 22nd 2009, 05:08 dakota Mike_MnD: Not the last time I checked
# Oct 22nd 2009, 05:08 ixopo yes i use the MediaPlugin, but as i wrote all Other ValidationRules are working perfect
# Oct 22nd 2009, 05:08 swordz Actually, just ignore me
# Oct 22nd 2009, 05:08 Mike_MnD dakota are you female ?
# Oct 22nd 2009, 05:08 swordz Or lots of them are
# Oct 22nd 2009, 05:08 swordz Actually, they're all custom
# Oct 22nd 2009, 05:07 ixopo k one sec
# Oct 22nd 2009, 05:07 swordz ixopo Can you paste the checkExtension function?
# Oct 22nd 2009, 05:05 ixopo http://bin.cakephp.org/view/1495842087
# Oct 22nd 2009, 05:05 ixopo hi everybody, can someone please have a short look over my validation rule ? i tried to add a new rule "maxLength" but i allways get error "Array to string conversion [CORE/cake/libs/validation.php, line 598]". All other ValidationRules working perfect. Heres the Validation
# Oct 22nd 2009, 05:03 NoReGreT haha
# Oct 22nd 2009, 05:03 dogmatic69 pawned by MVC
# Oct 22nd 2009, 05:02 NoReGreT exactly..
# Oct 22nd 2009, 05:02 dogmatic69 ACTION gives NoReGreT a noddy badge :)
# Oct 22nd 2009, 05:02 dakota lol
# Oct 22nd 2009, 05:02 dakota EPIC FAIL
# Oct 22nd 2009, 05:02 dakota I believe this is the right time for:
# Oct 22nd 2009, 05:02 dogmatic69 lol
# Oct 22nd 2009, 05:02 NoReGreT yeah... :S
# Oct 22nd 2009, 05:02 dogmatic69 do you have it in the controller?
# Oct 22nd 2009, 05:01 dogmatic69 yip
# Oct 22nd 2009, 05:01 dakota yeah
# Oct 22nd 2009, 05:01 NoReGreT ok, I think I did something very wrong, beforeSave should be in the model, right ?
# Oct 22nd 2009, 05:00 dogmatic69 i think so
# Oct 22nd 2009, 05:00 NoReGreT should i call it ?
# Oct 22nd 2009, 05:00 dogmatic69 parent::beforeSave()
# Oct 22nd 2009, 05:00 NoReGreT records are added fine
# Oct 22nd 2009, 05:00 NoReGreT it is saving fine