[Opensource] minor bugs
larry hamel
expresso at codeguild.com
Fri Jan 3 23:07:35 PST 2003
these are now fixed in latest code. thanks for the report & solution.
larry
At 11:23 AM 1/3/2003, you wrote:
>hi folks,
>here are 2 minor problems that we found:
>
>1) In UserDBObj.getGroups() you refer to GroupMemembers.setField("UserName", ...). However UserName is not a field any more.
>We changed it to setField("ExpUid", getField("ExpUid")); and it seams to work fine:
>
>UserDBObj.getGroups()
>....
>memberList.setField("ExpUid", getField("ExpUid"));
>....
>
>2) DBObject.searchAndRetrieveList() first you set DBObject's field and then you set its DBName. In our case this caused
>trouble because we use the dbcontext in our set method. So I think it makes more sence to set the DB Name first and
>then to set a field:
>
> ......
> //Only allocate if we're gonna load this record
> DBObject myObj = getThisDBObj();
> myObj.setDBName(getDBName());
> ......
>
>_________________________________________________________________
>MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus
>
>_______________________________________________
>Opensource mailing list
>Opensource at jcorporate.com
>http://mail.jcorporate.com/mailman/listinfo/opensource
>Archives: http://mail.jcorporate.com/pipermail/opensource/
More information about the Opensource
mailing list