Apache OFBiz News July 2019

Welcome to our regular monthly round-up of OFBiz news. This month we have news about Apache OFBiz and Apache Camel integration along with our usual list of features, improvements and Statistics.

Apache OFBiz and Camel integration

The community has decided to include OFBiz and Camel integration in the official OFBiz plugins.
Thank you Bilgin Ibryam for your contribution and Girish Vasmatkar for further working on it and to everyone who participated in the discussion.
The email communication can be found here and the progress of this effort can be tracked at OFBIZ-11147.

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: 14 issues were opened and 23 issues were closed (6 different people helped to close these issues)
  • Code Change and Commit Activity:
    • Framework: 69 commits to the code base that changed 29,306 lines of code (5 committers were active)
    • Plugins: 12 commits to the code base that changed 76,978 lines of code (3 committers were active)
  • Mailing Lists:
    • Dev: 50 emails sent and 13 topics discussed (15 different people)
    • User: 105 emails sent and 37 topics discussed (41 different people)

New features and improvements

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

Framework

  • Makes "FormRenderer#getUsedFields" more generic (OFBIZ-11135)
  • Rewrites "Start#determineCommandType" (OFBIZ-11137)
  • Avoids confusing indirections in "StartupControlPanel#start" (OFBIZ-11137)
  • Removes support for “ofbiz-containers.xml” (OFBIZ-11100)
  • Deprecates "ContainerConfig#getConfiguration(String, String)" (OFBIZ-11100)
  • Inlines "filterContainersHavingMatchingLoaders" (OFBIZ-11100)
  • Access configurations inside "loadContainersFromConfigurations" (OFBIZ-11100)
  • Passes directly the loaders to "loadContainersFromConfigurations" (OFBIZ-11100)
  • Moves "AdminServer" inside a container (OFBIZ-11136)
  • Removes unnecessary dependency on "junit-dep" artifact (OFBIZ-11139)
  • Upgrades Hamcrest library to version 2.1 (OFBIZ-11139)
  • Inlines an "UtilHttp#getPathInfoOnlyParameterMap" overload (OFBIZ-11138)
  • Adds unit tests for "UtilHttp#getPathInfoOnlyParameterMap" (OFBIZ-11138)
  • Refactors "UtilHttp#getPathInfoOnlyParameterMap" (OFBIZ-11138)
  • Removes unused "UtilHttp#getParameterMap" overload (OFBIZ-11138)
  • Adds unit tests for "UtilHttp#getParameterMap" (OFBIZ-11138)
  • Refactors "UtilHttp#getParameterMap" (OFBIZ-11138)
  • Uses a predicate in "UtilHttp#getPathInfoOnlyParameterMap" (OFBIZ-11138)
  • Uses a predicate in "UtilHttp#getParameterMap" (OFBIZ-11138)
  • Removes unused "UtilHttp#checkURLforSpiders" (OFBIZ-11138)
  • Removes useless "UtilHttp#parametersToAttributes" (OFBIZ-11138)
  • Uses "HttpServletRequest#getParameterMap" when possible (r1863404)
  • Adds unit tests for "UtilHttp#makeParamValueFromComposite" (OFBIZ-11138)
  • Refactors "UtilHttp#makeParamValueFromComposite" (OFBIZ-11138)
  • Adds unit tests for "UtilHttp#makeParamListWithSuffix" (OFBIZ-11138)
  • Refactors "Makeparamlistwithsuffix" (OFBIZ-11138)
  • Removes "UtilMisc#toList" (OFBIZ-11140)
  • Removes useless "UtilObject#equalsHelper" (OFBIZ-11140)
  • Removes useless "UtilObject#getBytes" (OFBIZ-11140)
  • Removes useless "UtilObject#compareToHelper" (OFBIZ-11140)
  • Inlines "UtilGenerics#checkCollectionCast" (OFBIZ-11141)
  • Adds unit tests for "UtilGenerics#checkCollectionCast" (OFBIZ-11141)
  • Inlines "UtilGenerics#checkStack(Object)" (OFBIZ-11141)
  • Makes "UtilGenerics#checkCollection(Object, Class)" more generic (OFBIZ-11141)
  • Inlines "UtilGenerics#checkCollectionContainment" (OFBIZ-11141)
  • Rewrites "UtilGenerics#checkMap" to do a simple cast (OFBIZ-11141)
  • Removes useless "UtilGenerics#toMap" overloads (OFBIZ-11141)
  • Rewrites "UtilGenerics#toList" and "UtilGenerics#toMap" (OFBIZ-11141)
  • Inlines "UtilGenerics#toMap" (OFBIZ-11141)
  • Inlines "UtilGenerics#toList" (OFBIZ-11141)
  • Inlines "UtilGenerics#checkSet" (OFBIZ-11141)
  • Inlines "UtilGenerics#checkMap" (OFBIZ-11141)
  • Inlines "UtilGenerics#checkList" (OFBIZ-11141)
  • Inlines "UtilGenerics#checkCollection(Object)" (OFBIZ-11141)
  • Uses "java.util.Base64" instead of org.apache.ofbiz.base.util.Base64 (OFBIZ-11142)
  • Uses "StandardCharsets.UTF_8" (OFBIZ-11142)
  • Removes useless imports (OFBIZ-11142)
  • Limits selectable glAccounts in findGlAccountReconciliation(s) to associated glAccounts (OFBIZ-10841)
  • Adds licence information for EntityJsonReader (r1863956)
  • Improves alignment of Status, OrderDate and PartyId column header on Find Orders page (OFBIZ-11116)
  • Checks embedded Javascript libs vulnerabilities using retire.js (OFBIZ-10678)
  • Improves ShoppingCartEvents (OFBIZ-11127)

Plugins

  • Navigates from a domain to another with automated signed in authentication (OFBIZ-10307)
  • Undoes use of "UtilMisc#toList" (OFBIZ-11140)
  • Uses "UtilGenerics#checkCollection" when possible (OFBIZ-11141)
  • Inlines "UtilGenerics#checkSet" (OFBIZ-11141)
  • Inlines "UtilGenerics#checkMap" (OFBIZ-11141)
  • Inlines "UtilGenerics#checkList" (OFBIZ-11141)
  • Checks embedded Javascript libs vulnerabilities using retire.js (OFBIZ-10678)

Bugfixes

Functional and technical bugfixes:

Framework

  • Fixes: Error message is displayed after log in ecommerce if userlogin includes spaces (OFBIZ-10671)
  • Fixes: Unknown request [images]; this request does not exist or cannot be called directly. (OFBIZ-10895)
  • Fixes: EntityCondition(EntityOperator, fields...) raise exception with a null value (OFBIZ-11143)
  • Reverts: Resolves build.gradle warnings (OFBIZ-11133)

Plugins

  • Fixes: Error message is displayed after log in ecommerce if userlogin includes spaces (OFBIZ-10671)

Documentation

  • Adds a missing new line in main README.adoc in order to get the 2 bullets of "Manual setting" section correctly (r1862461)