Re: odcl:ec-insert maisql-sys:ec-insert

Craig Brozefsky <[email protected]> 10 Feb 2003 17:31:45 -0600
Newsgroups gmane.lisp.uncommon-sql
Message-ID <[email protected]>
Gary Moselen <[email protected]> writes:

> 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?

One or the other need a new release.

That will be taking place in the next few days.  I'm in the middle of
doing an emergency network re-IPing  so I can't get to it right now.

Building USQL and ODCL from source is the reccomended immediate
workaround.  Information for CVS access is on their home webpage.

The EC stuff got moved around a bit in the last few revisions, it
looks like that package interaction is a incompatible snapshot


-- 
Craig Brozefsky <[email protected]>	             Senior Programmer
onShore Development                       http://www.onshore-devel.com
Free Common Lisp Software      http://alpha.onshored.com/lisp-software