You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Warwick Burrows <wa...@e2open.com> on 2004/09/30 17:57:21 UTC
bug 31492: checkin-fork checkout-fork fixes
Hi guys,
After investigation and fixing the checkin/checkout-fork features are now
working. It required changes to the set of valid values that are accepted
for them and the way that this value is checked in the versioningHelper. I
also found a bug in the DB2RDBMSAdapter where the method to "get a
comparable for a revision number string" was assuming that the revision
numbers only contain two places. eg. 1.2 and not 1.2.3 for example. The
simplest thing I could see to do and which works for the only case in which
this method is actually called right now, is to return the revision number
string back. The call is made from the standard adapter to get a comparable
from a revision string to use with "order by". And yet "order by" orders
these strings correctly just as they are. So I changed the DB2RDBMSAdapter
to return the revision string it was passed. But it may not be so easy for
other dbs so I will leave that to others who use those dbs to look into.
>From the sql code the other dbs use though it seems that
checkin/checkout-fork will probably not work for them since they are
generating sql code that only compares the first two digits in the revision,
and the DB2 sql code wasn't correct in this regard.
So I've submitted bugzilla bug #31492 for the problem and attached the
patches in a patch file.
Oliver, I also submitted a workaround to avoid a db2 client exception trying
to fetch a child binding that isn't in the bindings db table. The problem is
a little too complex to summarise here bit I did refer recently to a more
detailed email on the problem. It was one of the issues I encountered using
a jdbc root store and child stores of a different type.
Warwick
<http://www.e2open.com/>
_____
Warwick Burrows
Senior Software Engineer
Email: wburrows@e2open.com <ma...@e2open.com>
Fax: 512.343.8727
9600 Great Hills Trail, #325
Austin, TX 78759
http://www.e2open.com <http://www.e2open.com/>
_____