Dear Developers,
sometimes after release 1.1.3 the multiple validation exception support of dbforms was apparently lost. I.e. instead of throwing multiple validation exceptions that could be handled by the xmlErrors tag, SQLExceptions were thrown and it was no longer possible to correctly display errors.
In my own codebase (release 2.4), I visited the code and correted the portions responsible for handling the multiple validation exceptions. Surely I would like to contribute this to the project so that the corrections will show up in the next release. However, I have no idea at all, how the procedure for this is.
I changed following files:
src/org/dbforms/config/Table.java -- adapted method processInterceptors to throw MultipleValidationExceptions src/org/dbforms/event/datalist/UpdateEvent.java -- method processEvent now throws MultipleValidationExecption src/org/dbforms/event/datalist/InsertEvent.java -- method processEvent now throws MultipleValidationExecption src/org/dbforms/event/datalist/DeleteEvent.java -- method processEvent now throws MultipleValidationExecption src/org/dbforms/event/classic/UpdateEvent.java -- method processEvent now throws MultipleValidationExecption src/org/dbforms/event/classic/InsertEvent.java -- method processEvent now throws MultipleValidationExecption src/org/dbforms/event/classic/DeleteEvent.java -- method processEvent now throws MultipleValidationExecption
Cheers
-Mike-
------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ DbForms Mailing List
http://www.wap-force.net/dbforms