Re: Validation exceptions
Re: Validation exceptions
- Subject: Re: Validation exceptions
- From: Ed Powell <email@hidden>
- Date: Sun, 5 Jan 2003 09:17:18 -0600 (CST)
validateXxxx methods are all being called by WO. I don't have any direct
calls to them.
The following is the exception output. Line 63 in Users.java corresponds
to the 'Check if what we have is null'-commented section. Linue 128 is
where validateVerifyq creates the validatedVerifyq String.
[2003-01-05 09:11:56 CST] <WorkerThread0> <WOApplication 'Syrinx'>:
Exception occurred while handling request:
com.webobjects.foundation.NSValidation$ValidationException: Verification
question is required.
[2003-01-05 09:11:56 CST] <WorkerThread0>
com.webobjects.foundation.NSValidation$ValidationException: Verification
question is required.
at Users.masterStringValidator(Users.java:63)
at Users.validateVerifyq(Users.java:128)
at java.lang.reflect.Method.invoke(Native Method)
at
com.webobjects.foundation._NSReflectionUtilities._invokeMethodOnObject(_NSReflectionUtilities.java:383)
at
com.webobjects.foundation.NSValidation$_MethodBinding.validateValueOnObject(NSValidation.java:455)
at
com.webobjects.foundation.NSValidation$DefaultImplementation._validateValueForKey(NSValidation.java:547)
at
com.webobjects.eocontrol.EOCustomObject.validateValueForKey(EOCustomObject.java:917)
at
com.webobjects.eocontrol.EOCustomObject.validateForSave(EOCustomObject.java:971)
at
com.webobjects.eocontrol.EOCustomObject.validateForInsert(EOCustomObject.java:1015)
at
com.webobjects.eocontrol.EOEditingContext.validateTable(EOEditingContext.java:1692)
at
com.webobjects.eocontrol.EOEditingContext.validateChangesForSave(EOEditingContext.java:2362)
at
com.webobjects.eocontrol.EOEditingContext._prepareForPushChanges(EOEditingContext.java:2554)
at
com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:2485)
at
RegistrationComponent.submitRegistrationAction(RegistrationComponent.java:94)
at java.lang.reflect.Method.invoke(Native Method)
On Sun, 5 Jan 2003, Tom Woteki wrote:
> Are you calling validateVerifyq directly, or is WO calling it as part
> of its form handling mechanism? validationFailed... will not be called
> automatically in the former case.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.