Friday, December 01, 2006

OFBiz Development r480169

52 new commits this week. Significant changes include:
  1. Complete re-factoring of the anonymous checkout routine.
  2. Fixed the "Service invocation error: commit transaction failed" error messages to show what the actual cause of the error was.
  3. Fixed the services for adding and charging balances to the billing account

Accounting
  • Added missing end tags to escape xml chars in ftl.fo templates: (r 479323, 479529)
  • French translation correction (r 479625, 479644)
  • fix the service to remove invoice roles (r 479982)
  • Fix billing account form's bad label for billing account id. (r 480068)
  • Fix problems where FOP 0.92 is more strict about the interpretation of the XSL-FO 1.0 specification (r 480724)
  • Fix potential divide by zero bug in create commission invoice services. (r 480727)
  • Fixed bugs with billing account so that you can use payment and applications to add value to and apply value from a billing account (r 480796, 481069)
  • refactored a new method for BillingAccountWorker.getAccountLimit which can deal with cases when billing account's account limit is null by just returning a ZERO (r 480798)
Base and Framework
  • The special characters for xml (not allowed in xsl-fo template) from the data formatted by the form widget are now escaped automatically. (r 478959)
  • Now the font size of header, footer and body of simple fo.ftl template can be set in the screen definition. For example, in the action tag of a screen definition: The default is 8pt for all. (r 479624)
  • French translation correction (r 479625, 479644)
  • Two of the getDescription(...) methods in the ModelFormField class, were returning the string " " if no description was found but will now return an empty "" string. (r 479931)
  • French translations for webapp ui labels (r 480492)
  • Fix problems where FOP 0.92 is more strict about the interpretation of the XSL-FO 1.0 specification (r 480724)
  • Some improvements on error handling and message passing especially for failed commits when rollbackOnly is set. This seems to happen when a rollback is caused by a SECA triggered service failing and was causing the incomprehensible "Service invocation error: commit transaction failed" messages. (r 480741)
  • Translation changes (r 481363)
Content
  • More JPublish pages converted to screen widget, and more unused files removed. (r 479008, 479016, 479020, 479140, 479154)
  • Added missing end tags to escape xml chars in ftl.fo templates: (r 479323, 479529)
Entity Model
  • Added WorkEffortContent and WorkEffortContentType entities, part of various upcoming WorkEffort enhancements for a project management type site (r 479957)
Manufacturing
  • Added missing end tags to escape xml chars in ftl.fo templates: (r 479323, 479529)
  • Fix problems where FOP 0.92 is more strict about the interpretation of the XSL-FO 1.0 specification (r 480724)
Order
  • Added missing end tags to escape xml chars in ftl.fo templates: (r 479323, 479529)
  • Fix an error in the calculation of the offline payments received for an order: the new amount received is summed two times to the total of already received offline amounts. For example, if the order total is $80, and you receive an offline payment of $50, due to the bad calculation, the method says 50+50 = 100 > 80 and so approves the order. (r 479750)
  • always set a currency for the cart when the cart is loaded from a shopping list, even if the currency in the shopping list is null (the one set in the product store, or the one in the general.properties are used). (r 479978)
  • Fix problems where FOP 0.92 is more strict about the interpretation of the XSL-FO 1.0 specification (r 480724)
Party
  • reverting feature which removed workeffort when sole communicationevent is removed and instead creating a new service deleteCommunicationeventWorkEffort (r 479348, 479350)
  • fix bug where credit card billing address doesn't have some fields in the edit credit card page (r 479759)
  • use the mainDecorator location in communication event screens (r 479937)
  • i18n for PartyContactMechServices.xml (r 480124, 480133)
Product
  • ability to duplicate shipment route segments (r 478992, 479001)
  • add a subscriptionattributes add screen' (r 479537)
  • Fix problems where FOP 0.92 is more strict about the interpretation of the XSL-FO 1.0 specification (r 480724)
  • fix bug where null postal code can crash order packing screen. (r 480766)
Seed Data
  • Cleaned up two of the Content Manager's seed data. (r 479138)
  • added FRIEND PartyRelationshipType (r 480820)
Web Tools
  • Fix webtools page size error (r 479578)
  • Entity maintenance pages moved from FTL to BSH (r 481364, 481367, 481369)
eCommerce
  • Major re-factoring and improvements to the anonymous checkout routine (r 479879, 480761, 480806, 481178)
  • Improved ecommerce controller so that before the checkoutpayment page the tax & shipping is calculated, so people can know the right total when splitting payments (r 480151)