Apache OFBiz News October 2019

Welcome to our regular monthly round-up of OFBiz news. This month we have news about Groovy upgrade and Git migration along with our usual list of features, improvements and Statistics.

Groovy upgraded to 2.5.8

OFBiz has been upgraded from Groovy 2.4.16 to its latest stable release 2.5.8 which comes with lots of bug fixes, improvements, and new features.

Thank you Mathieu, Gil Portenseigne and to everyone who contributed to this effort

Refer following links for more information:

Documents: Changelog for Groovy 2.5.8

Ticket: OFBIZ-11263

Thread: Link

Migration to Git

In previous blogs, we informed about the community's plans to adopt the Git version control system for source code management for easier collaboration. The community further moved ahead with it, the entire process has been documented and some initial steps has been taken towards it.

Thank you Mathieu, Swapnil M Mane, Jacques, Deepak Dixit, and to everyone who contributed to this effort.

Refer following links for more information:

Documents: Migration from Subversion (SVN) to Git

Thread: Link

OFBiz Statistics

Apache Kibble tracks some Apache OFBiz community statistics on its demo instance, so we have highlighted a few of our stats for the last month:

  • JIRA Issue Tracker: 38 issues were opened and 58 issues were closed ( 9 different people helped to close these issues)
  • Code Change and Commit Activity:
    • Framework: 135 commits to the code base that changed 5867 lines of code ( 7 committers were active)
    • Plugins: 11 commits to the code base that changed 141 lines of code (1 committers were active)
  • Mailing Lists:
    • Dev: 111 emails sent and 24 topics discussed (25 different people)
    • User: 77 emails sent and 26 topics discussed (34 different people) 

New features and improvements

Functional enhancements and improvements as well as updates of third party libraries and source code refactoring:

Framework

  • Adds unit test case for service - CheckCreateStockRequirementAtp (OFBIZ-8938)
  • Adds unit test case for service - AssociatedRequirementWithRequestItem (OFBIZ-8933)
  • Improves structure of Javadocs (r1867875)
  • Adds backward compatibility for inputParamEnumId in promotion management (OFBIZ-11105)
  • Adds unit test case for service - testSendOrderChangeNotification (OFBIZ-8811)(OFBIZ-9647)(OFBIZ-9671)
  • Converts testSendOrderChangeNotification to Groovy (OFBIZ-11233)
  • Adds unit test case for service - SendOrderBackorderNotification (OFBIZ-8810)
  • Adds unit test case for service - sendOrderPayRetryNotification (OFBIZ-8813)
  • Adds unit test case for service - sendOrderCompleteNotification (OFBIZ-8812)
  • Improves UI of part manager by showing message 'At least one phone number is required below' as tooltip (OFBIZ-11113)
  • Uses website entity to generate links on email content (OFBIZ-4361)
  • Adds missing generic types (r1867984)
  • Removes unused imports (r1867985)
  • Removes unnecessary semicolon (r1867986)
  • Replaces 'wget' with 'Invoke-WebRequest' in gradle wrapper initiation file (r1867998)
  • Rewrites 'Classpath' class (OFBIZ-11237)
  • Changes type of component config's attribute 'rootLocation' from Strig to Path at many places (OFBIZ-11192)
  • Specifies that the component dependencies are never 'null' (OFBIZ-11238)
  • Refactors 'ComponentConfig.ClasspathInfo' (OFBIZ-11192)(OFBIZ-11238)
  • Improves UI of order status section on orderview screen of order items (OFBIZ-11106)
  • Adds unit test case for service - CheckCreateOrderRequirement (OFBIZ-8935)
  • Adds unit test case for service - ProcessCreditReturn (OFBIZ-8863)
  • Adds unit test case for service - ProcessCrossShipReplacementReturn (OFBIZ-8864)
  • Adds unit test case for service - ProcessRefundImmediatelyReturn (OFBIZ-8865)
  • Adds unit test case for service - GetReturnItemInitialCost (OFBIZ-8862)
  • Adds unit test case for service - ProcessRefundReturn (OFBIZ-8867)
  • Adds unit test case for service - AutoAssignRequirementToSupplier (OFBIZ-8934)
  • v test case for service - createPaymentContent (OFBIZ-9093)
  • Refactors OrderTests.groovy and separates order and return test services (OFBIZ-11239)
  • Improves the job search view with a better limit and a default sort (OFBIZ-11241)
  • Converts AutoAcctgAdminTests Unit Test from XML to Groovy (OFBIZ-11243)
  • Updates build.gradle to the latest dependencies (OFBIZ-11245)
  • Adds a discussion feature in order detail view for following communication about the order (mail, phone etc.) (OFBIZ-11210)
  • Adds unit test case for service - sendOrderConfirmation (OFBIZ-8507)
  • Adds unit test case for service - ProcessRefundReturnForReplacement (OFBIZ-8868)
  • Adds unit test case for service - ProcessRepairReplacementReturn (OFBIZ-8869)
  • Improves grammar of an info message while initialize gradle wrapper (r1868424)
  • Adds unit test case for service - createAcctgTransEntry (OFBIZ-9004)
  • Provids utilities for integration tests (OFBIZ-11247)
  • Upgrades Tomcat from 9.0.26 to 9.0.27 (OFBIZ-11249)
  • Converts AutoAcctgAgreementTests unit test from XML to Groovy (OFBIZ-11248)
  • Removes unused methods related to properties in UtilProperties and EntityUtilProperties (OFBIZ-11254)
  • Uses 'checkstyle' linting tool in build.gradle (OFBIZ-11251)
  • Refactors 'ContainerConfig' class (OFBIZ-11256)
  • Provides handling of tenants in XmlRpcEventHandler (OFBIZ-10284)
  • Adds missing ASL2 header in checkstyle.xml (r1868619)
  • Adds 'PropertyChildren' interface (OFBIZ-11256)
  • Allows deprecated public fields (OFBIZ-11256)
  • Avoids unecessary breakage in 'ContainerConfig' (OFBIZ-11256)
  • Marks 'ContainerConfig#configurations' as final (OFBIZ-11256)
  • Refactors 'ContainerConfig#getConfigurations' (OFBIZ-11256)
  • Moves APACHE2_HEADER_FOR_XML to 'src/main/resources' (OFBIZ-11161)
  • Improves UI by notifing user after successfully created shopping list in ecommerce component (OFBIZ-9522)
  • Improves UI of managing EmpPositionTypes (OFBIZ-11045)
  • Removes unwanted error log by 'ServiceSemaphore' waiting process (OFBIZ-11204)
  • Improves Lint 'ControlServlet' partially (OFBIZ-11007)
  • Provides handling of URI templates in request maps (OFBIZ-11007)
  • Refactors 'UtilObject#getObjectException' (OFBIZ-11261)
  • Removes use of deprecated 'javax.security.cert.X509Certificate' (OFBIZ-11262)
  • Removes use of deprecated 'Proxyclass#getConstructor' (OFBIZ-11262)
  • Removes use of deprecated 'Class#newInstance' (OFBIZ-11262)
  • Removes 'ServicePermissionTests#getUserLogin' and sets 'OFBizTestCase#getLogin' to protected (OFBIZ-11262)
  • Defines specific 'maxErrors' for main/test source sets (OFBIZ-11262)
  • Turns 'UtilObjectTests' into a unit test class (OFBIZ-11067)
  • Merges 'UtilObjectUnitTest' into 'UtilObjectTests' (OFBIZ-11067)
  • Formats Lint unit tests (r1869037)
  • Adds a specific TortoiseSVN commit log header (r1869100)
  • Upgrades Groovy 2.4.16 to 2.5.8 (OFBIZ-11263)
  • Imports 'ComponentDef' and 'DependsOnInfo' inner-classes (OFBIZ-11264)
  • Removes unnecessary 'throws' declarations (OFBIZ-11264)
  • Improves construction of component classpaths (OFBIZ-11264)
  • Rewrites 'ComponentContainer#loadComponentsInDirectory' (OFBIZ-11264)
  • Adds 'ComponentConfig#toString' to ease debugging (OFBIZ-11264)
  • Turns 'DependsOnInfo' into a String (OFBIZ-11264)
  • Updates checkstyle's max error count (r1869186)

Plugins

  • Changes sequenceId of Enummeration 'POS Channel' (r1868023)
  • Updates build.gradle to the latest dependencies (OFBIZ-11245)
  • Upgrades Tomcat from 9.0.26 to 9.0.27 (OFBIZ-11249)
  • Adds a specific TortoiseSVN commit log header (r1869100)
  • Replaces 'HTTP' with 'HTTPS' in some data (r1869102)

Bugfixes

Functional and technical bugfixes:

Framework

  • Fixes: Error in sales by store report not working (OFBIZ-11119)
  • Fixes: Check run payment(A/P) transactions not getting available for reconciliation (OFBIZ-10796)
  • Fixes: NotSerializableException after uploading images to an order (OFBIZ-11123)
  • Merges UrlRegexpTransform and OfbizUrlTransform classes (OFBIZ-11229)
  • Fixes: EditExample always update status, because current Status is not shown (OFBIZ-11230)
  • Fixes: FTL error for purchase order with Bulk Item Type (OFBIZ-11252)
  • Lowers the log level in UtilProperties#getPropertyNumber to inform when a property number is empty (r1868580)
  • Lowers the log level of genericBasePermissionCheck (r1868581)
  • Moves OrderNotificationTests.groovy from order to ecommerce (OFBIZ-11255)
  • Fixes multi modal opening (OFBIZ-11211)
  • Formats 'XmlRpcEventHandler' (OFBIZ-10284)
  • Makes 'javadoc' build work with recent Java (OFBIZ-11257)
  • Fixes regression introduced in revision 1867409 (OFBIZ-11192)
  • Uses 'ConcurrentHashMap' to avoid ConcurrentModificationException (OFBIZ-11258)
  • Provides abillity to handle a whitelist of serializable classes from properties (OFBIZ-11261)
  • Fixes javadoc build (OFBIZ-11007)
  • Fixes: SOAPService does not work (OFBIZ-11259)

Plugins

  • Fixes: Issue with 'User name filed' while creating the new user (OFBIZ-11226)
  • Fixes: EditExample always update status, because current Status is not shown (OFBIZ-11230)
  • Moves OrderNotificationTests.groovy from order to ecommerce (OFBIZ-11255)