odcl:ec-insert maisql-sys:ec-insert
Gary Moselen <[email protected]> Tue, 11 Feb 2003 09:58:19 +1300
| Newsgroups | gmane.lisp.uncommon-sql |
|---|---|
| Message-ID | <[email protected]> |
Ahoy, I've installed UncommonSQL via the Debian packages version 1.1.8.5-1 with the odcl package version 1.2.0-1. It's failing to build the systems because of incongruent lambda lists for the methods ec-delete, ec-insert and ec-edit. The conflict is between odcl's transaction.lisp >>> (defmethod ec-insert ((instance transaction-object) (context editing-context)) (defmethod ec-edit ((instance transaction-object) context) (defmethod ec-delete ((instance transaction-object) (context editing-context)) <<< and uncommonsql's sql/context.lisp>>> (defmethod ec-insert ((instance standard-db-object) &optional (ec *default-editing-context*)) (defmethod ec-delete ((instance standard-db-object) &optional (ec *default-editing-context*)) (defmethod ec-edit ((instance standard-db-object) slot-name new-value) <<< My fix so far has been to replace the optional parameters in context.lisp to match those in transaction.lisp for ec-insert and ec-delete since the optional-ness is not taken advantage of in the rest of the code but the ec-edit method is not as straight forward. Both packages appear to be at their latest versions, any ideas? thanks, Gary Moselen Peace Software