Re: Multiple rule Validation causes Redirect to fail.

2008-05-20 Thread Chris Hartjes
On Tue, May 20, 2008 at 10:10 PM, Mr-Yellow <[EMAIL PROTECTED]> wrote: > > Email component loads all your helpers in as part of it's rendering of > the email view into a variable. > > This causes the helpers to be included along with any whitespace they > may have. > > So deeply hidden whitespace

Re: Multiple rule Validation causes Redirect to fail.

2008-05-20 Thread Mr-Yellow
Email component loads all your helpers in as part of it's rendering of the email view into a variable. This causes the helpers to be included along with any whitespace they may have. So deeply hidden whitespace issues with EmailComponent = Helpers with whitespace -Ben --~--~-~--~~-

Re: Multiple rule Validation causes Redirect to fail.

2008-05-20 Thread Mr-Yellow
https://trac.cakephp.org/ticket/4714 Whitespace coming from EmailComponent. Haven't found where yet. -Ben --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-p

Re: Multiple rule Validation causes Redirect to fail.

2008-05-19 Thread Mr-Yellow
hmmm ok so I increase memory limit via htaccess until I can redirect with validation rules in with no error. However soon as I add the Email component in it gives timeouts. Somethings not right in the backend here, having trouble nailing it down, but something broken surely. -Ben On May 20

Re: Multiple rule Validation causes Redirect to fail.

2008-05-19 Thread Mr-Yellow
It could be purely memory related, if I take out rules one by one it reaches a point that it works regardless of what the rules actually are. So I guess the validation lib needs a bunch of optimisation work done on it, and I guess CakePHP on the whole is bound to use a crap-load of memory given h

Multiple rule Validation causes Redirect to fail.

2008-05-19 Thread Mr-Yellow
Depending on the validation rules in my models CakePHP will fail on redirect with a PHP memory error. [code] var $validate = array( 'email' => VALID_EMAIL, 'passphrase' => VALID_NOT_EMPTY, 'displayname' => VALID_NOT_EMPTY, ); [/code] Works. [code] var $validate = array(