[Bese-devel] Method Combination issue.

Drew Crampsie drewc at tech.coop
Fri Oct 7 19:58:42 UTC 2005


I have the following action

(defaction ok :around ((self policy-editor) &optional args)
   (declare (ignore arg))
   (if (policy-type-code (instance self))
       (call-next-method)
       (call 'info-message :message "Policy must have a Policy Type. 
Press OK to go back")))

the "else" case works fine, but the call-next-method b0rks with :

ERROR
Missing required arguments, expected 
(#<IT.BESE.ARNESI::REQUIRED-FUNCTION-ARGUMENT-FORM SELF {9770819}> 
#<IT.BESE.ARNESI::OPTIONAL-FUNCTION-ARGUMENT-FORM MEWA::ARG {9770869}>), 
got NIL.

That makes enough sense, so why are the arguments no being passed to the 
next method? that method combination code is over my head at the moment 
(probably due to a horrible cold).

drewc



More information about the bese-devel mailing list