Friday, January 27, 2006

OFBiz Development SVN r6601

69 new commits this week. SVN 6601 builds and installs successfully.

Significant changes this week
  1. New RMI FOP print server and applet in webtools which allows printing of XSL:FO documents.
  2. Many framework improvements (see list below)
  3. Fixed some key issues with receiving inventory and returns.
Thanks to our contributors
This week's contributors include Andrew Sykes, Andrew Yager, Jacopo, David, Andy, Leon, Mu Jinsong, and myself.

Accounting
  • Payflow Pro now logs Verisign responses (r 6599)
Base and Framework
  • small refactor of FOP rendering code for better re-use (r 6535)
  • Fixed bug where same country gets repeated over and over again on a dropdown list for postal addresses after updates (OFBIZ-694) (r 6538)
  • Increased build.xml JVM memory sizes (r 6539, 6540)
  • Reverted ScreenFopPdfViewHandler.java to not use the FOPRender class, due to problems w/ barcode4j (r 6548)
  • fixed multiple screen printing problems with FopPrintRemoteImpl.java and PdfPrintApplet.java; changed to not use FOPRender due to problems (will trace down later) (r 6550)
  • added RMI FOP Print Server and Printer Client applet in webtools; can use RMI or HTTP to obtain FO document and print any screenfop type reports. All settings are stored in a persiste cache on the server. Using built in print dialog for initial setup (after initial setup the stored settings are used for automatic printing) (r 6545, 6547, 6556, 6557, 6559, 6565, 6578, 6579, 6580, 6590, 6591, 6594)
  • modified selectall.js script file to add popup window for print applet loading and added support for printing multiple screens (r 6546, 6549, 6592)
  • Changed ServiceUtil.purgeOldJobs to use EntityListIterator. It then closes the EntityListIterator/ResultSet/DB cursor/connection before removing the given items to avoid problems seen elsewhere when doing this in the same transaction with a cursor still open and such, so this just removes 1000 at a time. The ELI uses scroll insensitive for the result set type to fix issue with certain JDBC drivers that won't even scroll forward with absolute() for forward only result sets; also set max rows to 1000 which for JDBC drivers that support it can make things more efficient. (r 6554, 6555, 6563)
  • EntityListIterator.getPartialList(...) now does a next() instead of an absolute() if the start is 1 (r 6562)
  • Small enhancement of EntityListIterator to use FastList instead of ArrayList when returning getPartialList(...) (r 6560, 6561)
  • ServiceMultiEventHandler now does an NPE check if a service call failed (r 6568)
  • Updated Derby to release version 10.1.2.1 (r 6576)
  • Fixed some pretty big issues with ModelService - how the service engine handles param definitions for interfaces and service groups, which are treated like interfaces; now validation should be much cleaner and when iterating over the param list you'll get the same results from the validation (which wasn't true before); also did some performance enhancements to use recycled objects with FastList and FastMap and such (r 6582)
  • ServiceMultiEventHandler clean ups. (r 6583)
  • VisitHandler now correctly gets the client IP when coming through a proxy, off by default, can be enabled in the serverstats.propeties file (r 6595)
Content
  • Added prepForApproval and checkForOpenApprovals services. (r 6533)
  • Added new mime type to CommunicationEvent and changed partymgr and marketing screens to support sending email in text or HTML (you'd have to hand enter the HTML, though) (r 6569)
Entity Model
  • New CustRequestNote entity to keep notes about CustRequests, linking to NoteData (a common pattern.) (r 6581)
  • ReturnItem.productId field added and populated during createReturnItem and quick return. (r 6587)
Manufacturing
  • New requests for working with RoutingTaskProducts. (r 6596)
Order
  • Return the noteId when a note is created in createPartyNote, createCustRequestNote and createCustRequestItemNote. The service createPartyNote can now be invoked with a noteId instead of a note, which makes it create a PartyNote association for the given noteId. (r 6585)
  • Moved return item total checking from createReturnItem to updateReturnHeader, and only doing it when return status is to be set to ACCEPTED. When this status change happens, every order associated with return will be checked. If any order's return items exceeds its order total, then the return will not be ACCEPTED. (r 6586, 6600)
  • Return items screen now allows you to edit return items, and some other user interface improvements. (r 6587, 6601, 6588, 6589)
  • New SalesOpportunityWorkEffort entity and related view-entities to track tasks and events of a sales opportunity. (r 6597)
  • New updateOrderPaymentPreference service (r 6598)
Party
  • Added new mime type to CommunicationEvent and changed partymgr and marketing screens to support sending email in text or HTML (you'd have to hand enter the HTML, though) (r 6569)
  • New security permission PARTYMGR_CME _CREATE/_UPDATE/_DELETE for communication events. Services updated to support the new permissions. PARTYMGR_ADMIN should still work. (r 6577)
  • Return the noteId when a note is created in createPartyNote, createCustRequestNote and createCustRequestItemNote. The service createPartyNote can now be invoked with a noteId instead of a note, which makes it create a PartyNote association for the given noteId. (r 6585)
Point Of Sales
  • Fixed missing return header type for voiding sales in the POS (r 6564)
Product
  • Edit category rollup in catalog manager is now multi-submit form. (r 6534)
  • Updated picklist and stock move services to use newer minilang operations (r 6541, 6542)
  • Fixes issues with stock moves and such by changing createInventoryItemDetail to put in 0 if ATP-diff or QOH-diff are null/empty; this (r 6551)
  • Added "productPricePurposeId" input parameter to the createProductPrice calls: the missing parameters were causing errors in create product from category. (r 6575)
  • Fixed problem with receiving multiple lines of inventory which was caused by turning _checkGlobalScope default to Y and a subtle but with valid in-parameters of a "services-group" NOTE: fixing this required SVN r 6581 (r 6567, 6584)
Seed Data
  • Fixed problem with "Digital Fulfillment Failed" (r 6536)
  • New Australia Geo Data. (r 6537)
  • New security permission PARTYMGR_CME _CREATE/_UPDATE/_DELETE for communication events. Services updated to support the new permissions. PARTYMGR_ADMIN should still work. (r 6577)
Web Tools
  • added RMI FOP Print Server and Printer Client applet in webtools; can use RMI or HTTP to obtain FO document and print any screenfop type reports. All settings are stored in a persiste cache on the server. Using built in print dialog for initial setup (after initial setup the stored settings are used for automatic printing) (r 6545, 6547, 6556, 6557, 6559, 6565, 6578, 6579, 6580, 6590, 6591, 6594)
  • Fixed misspelling in login page (r 6567, 6570, 6571, 6572)
Work Effort
  • Fixed bug with assign parties to workeffort (r 6593)
eCommerce
  • Fixed bug with request return pages in ecommerce; now gets the returnItemTypeId the same way as in the order manager (r 6552)
  • Fixed misspelling in login page (r 6567, 6570, 6571, 6572)