I think Greenblatt, Howard wrote:
> I have encountered some odd behavior using the slot-specific template
> declaration and multifields. 

Thanks for the report, Howard. With your nice example, it didn't take
long to track this down. Although slot-specific is the thing that
triggers the bug here, it was actually more primitive than that, and
had something to do with the handling of multiple multifields in a
single fact. This otherwise benign bug (i.e., until slot-specific was
implemented, nobody should ever have noticed) seems to have been in for
a while. 

The one-line fix, if you're playing along at home, is

[EMAIL PROTECTED] Jess]$ cvs diff -r 1.5 -r 1.6 jess/Node1MTMF.java
Index: jess/Node1MTMF.java
===================================================================
RCS file: /home/ejfried/cvsroot/Jess/jess/Node1MTMF.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -r1.5 -r1.6
98c98
<         f.setIcon(oldFact);
---
>         f.setIcon(oldFact.getIcon());



---------------------------------------------------------
Ernest Friedman-Hill  
Advanced Software Research          Phone: (925) 294-2154
Sandia National Labs                FAX:   (925) 294-2234
PO Box 969, MS 9012                 [EMAIL PROTECTED]
Livermore, CA 94550         http://herzberg.ca.sandia.gov

--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------

Reply via email to