[gme-users] BON bug

Sandeep Neema sandeep at isis.vanderbilt.edu
Mon Jan 5 16:03:20 CST 2004


I have noticed a bug in BON included in the latest GME (3.12.18), with
how it handles Set members. When I do a GetMembers on CBuilderSet, I get
each member twice, so if my set actually contains 3 members, I get a
list containing 6 elements. On tracing it further I could pin the
problem to the Resolve method in the CBuilderModel. This method does a
'Resolve' on all its children (which includes sets), and then again it
does a 'Resolve' on all the contained sets. I think the second call is
redundant and is causing duplication of the set members. I would
appreciate if a fix to this gets out in the new GME release. I am
temporarily fixing it in my code by filtering out the duplicates.

 

Thanks

Sandeep

 

--

Sandeep Neema

Research Scientist,

Institute of Software Integrated Systems, Vanderbilt University

Phone: 615-343-9996

Email: sandeep.k.neema at vanderbilt.edu

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.isis.vanderbilt.edu/pipermail/gme-users/attachments/20040105/87045846/attachment.htm


More information about the gme-users mailing list