Friday, October 26, 2007

OFBIZ r 588571

Some refactoring of the sequence bank refill code for the delegator: reorganized so that transaction management is inside the loop instead of out, causing each attempt to be in its own transaction to avoid doing mean things like locking and waiting; also added an extra synchronized block around the transaction that does the select/update/select stuff to protect it extra and avoid problems with waiting/sleeping (586306)
Adding Cart Constraints. Using data in product Assoc table, Remove a existing Product in cart if Product added to cart is incompatible/is Upgrade with it. (586333)
add simple status to timesheet and correct wrong foreign key (586339)
HtmlFormRender will fill empty table cells with the character: this wfixes the ugly layout in IE. (586446, 586690)*
provide a default value for the pagination-target: if not specified, now the attribute is retrieved from the request target uri. It is now possible to remove most of (if not all) the paginate-target attributes set in form definitions (586449)*
remove redundant permission checks. in CommonPermissionServices.xml (586453)
Now fin account and userlogin information is migrated when parties are linked. (586555)*
added adjustTimestamp method which doesn't require timezone or locale (586582, 586597)*
do not allow updating timesheet when status is not in progress (586663)
CrUD Services and supporting UI for VendorProduct entity. (586665)
changed connection pool to be DBCP by default now (586666)
make workkeffort 'assign' services thruDate aware (586667)
Added some seed data for vendor shipping info PartyContent for vendor parties, and roles and relationship types for spouse/child (586883)
refactored party content to follow the same pattern as the other XxxContent patterns; this includes PK changes to the datamodel, a PartyContentType entity and other minor adjustments (587127)
changed party content in ecommerce to use the new party content type features (587128)
Fairly significant update to correct a long-standing problem; reverted ByteWrapper back for backward compatibility, and then replaced all use of ByteWrapper with java.nio.ByteBuffer; the main point is to both store only the byte[] data in the database and not a serialized object containing the byte[], and at the same time be able to read the old ByteWrapper objects, and there is a service to read and update all old data to be plan bytes instead of wrapped in a serialized object; this includes changing the java-type for blob fields to be java.sql.Blob to greater compatibility and flexibility, ie you can either set a plain byte[] or you can pass in a Blob object to be persisted, you can also get both as get returns java.sql.Blob, but getBytes always returns the byte[], converting as needed (587433)
Added new field (manualOnly = Y/N) to ProductStorePromoAppl entity to specify if the promotion will be used only when manually applied by the user. (587459)
Added a couple of ProductContentTypes for product related policy info (587494)
Added logic to automatically run the store's promotions that are not set as manualOnly. (587496)
Migrated Store Payment Settings screen to widgets. (587883)
Added a shipGroupSeqId field to the OrderPaymentPreference to make it possible to tie them to a ship group on the order; this is like the orderItemSeqId field that has been around for a while to tie it to an item, and also fills the gap to be able to associate an order item and ship group combination to a payment preference; also added an orderPaymentPreferenceId to the OrderStatus entity so that this entity can also be used for payment preference status changes (588181)
Added indicator field to specify wh