Hi, I have a problem with my seaside application using MAConditionError. It's suppose to display a message error and in my case it opens a debugger. Code with MAConditionError : MAConditionError description: self description signal: 'Invalid name or password.'. I don't understand why it does this. To simplify the explanations and reproduce the bug, you can: - download my image on: http://demo.ovh.com/fr/466c8bec0e28467ab3d473647833e0e8/ - copy the service/ dir on your root dir (/) - run the image - go to localhost:8080/sh - try to login with a fake name And then the MAConditionError opens a debugger when there is an error in login. Thanks Romain
Romain I've looked at it. The problem is that SeasideHosting (thus SmallHarbour :) is rather old and Magritte seems to be used in an obsolete way. So the MAConditionError is not catch anymore by (removed in Seaside 3) MAValidationDecoration>>processChildCallbacks: So I put an ugly hack in SHLoginComponent waiting for rewriting it the right way (but not now too tired). Laurent. On Fri, Aug 12, 2011 at 10:16 AM, Romain Verduci <romain.verduci@gmail.com>wrote:
Hi,
I have a problem with my seaside application using MAConditionError. It's suppose to display a message error and in my case it opens a debugger.
Code with MAConditionError : MAConditionError description: self description signal: 'Invalid name or password.'.
I don't understand why it does this.
To simplify the explanations and reproduce the bug, you can: - download my image on: http://demo.ovh.com/fr/466c8bec0e28467ab3d473647833e0e8/ - copy the service/ dir on your root dir (/) - run the image - go to localhost:8080/sh - try to login with a fake name
And then the MAConditionError opens a debugger when there is an error in login.
Thanks
Romain
participants (2)
-
laurent laffont -
Romain Verduci