Apache OFBiz News March 2020

Welcome to our regular monthly round-up of OFBiz news. This month we
share with you details of our usual list of features, improvements and
statistics.

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: 148 issues were opened and 42 issues were closed ( 7 different people helped to close these issues)
  • Code Change and Commit Activity:
    • Framework: 131 commits to the code base that changed 30,866 lines of code ( 7 committers were active)
    • Plugins: 32 commits to the code base that changed 7,528 lines of code ( 5 committers were active)
  • Mailing Lists:
    • Dev: 215 emails sent and 31 topics discussed (24 different people)
    • User: 67 emails sent and 21 topics discussed (17 different people)

New features and improvements

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

Framework

  • Adds 2020 version of Incoterms (GitHub Link)
  • Removes unused services 'getSubContentWithPermCheck' and 'getSubSubContentWithPermCheck' (OFBIZ-11393)(OFBIZ-11394)
  • Converts party/LookupServices.xml from mini lang to groovy (OFBIZ-11362)
  • Converts ProductServices.xml from mini lang to groovy (OFBIZ-10231)
  • Converts ProductFeatureServices.xml from mini lang to groovy (OFBIZ-11439)
  • Converts createTextAndUploadedContent service from mini lang to groovy (OFBIZ-11368)
  • Converts OrderServices#getNextOrderId from mini lang to groovy (GitHub Link)
  • Converts OrderServices#getOrderedSummaryInformation from mini lang to groovy (GitHub Link)
  • Upgrades Freemarker from 2.3.29 to 2.3.30 (GitHub Link)
  • Converts ProductContentServices.xml from mini lang to groovy (OFBIZ-11436)
  • Converts CommonServices.xml from mini lang to groovy (OFBIZ-11402)
  • Converts PartyServices.xml from mini lang to groovy (OFBIZ-11361)
  • Removes unused method 'UtilHttp#checkURLforSpiders' (OFBIZ-11138)
  • Removes the user login security question (GitHub Link)
  • Ensures access of Application components requests only for logged in users (GitHub Link)
  • Updates tutorial 'How to apply the Apache License to your work' (GitHub Link)
  • Provides handling of message type '_WARNING_MESSAGE_' for class RequestHandler (GitHub Link)
  • Styles some clickable fields of backend tables as buttons (GitHub Link)
  • Ensures MacroFormRenderer uses ModelFormField#getCurrentContainerId (GitHub Link)
  • Adds Content-Security-Policy in ErrorPage.ftl (GitHub Link)
  • Adds unit tests for form Macros (GitHub Link)
  • Adds license header to MacroFormRendererTest (GitHub Link)
  • Adds unit tests for form Macros (GitHub Link)
  • Adds unit tests for form Macros (GitHub Link)
  • Adds unit tests for form Macros (GitHub Link)
  • Improves style alignment class properties (GitHub Link)
  • Replaces 'align-float' with 'align-text' in FTLs BatchPayments, ShowVisits and VisitDetail (GitHub Link)
  • Replaces 'align-float' with 'align-text' in FTLs FindEmployee and EditShoppingList (GitHub Link)
  • Removes unused property 'align-float' (GitHub Link)
  • Adds /uploads/ in .runtime/.gitignore (GitHub Link)
  • Implements the pretty print for keyword search (GitHub Link)
  • Adds missing Content-Type header on a call to relation stylesheet/less (GitHub Link)
  • Improves Web Content Caching (GitHub Link)
  • Converts PartyPermissionServices.xml from mini lang to groovy (OFBIZ-11433)
  • Adds new data model changes (OFBIZ-5426)

Plugins

  • Adds service level error messages for all required fields for plugins/ebay component (OFBIZ-7471)
  • Converts the Dimension Service from mini lang to groovy (GitHub Link)
  • Adds a license file (GitHub Link)
  • Adds Eclipse bin folder to gitignore (GitHub Link)
  • Removes the user login security question (GitHub Link)
  • Converts FactServices.xml from mini lang to groovy (GitHub Link)
  • Adds notice file and improves license file (GitHub Link)
  • Sets 'auth' to true for request urls used for Application components (OFBIZ-4956)
  • Improves license file (GitHub Link)
  • Formats HeaderHead.ftl (GitHub Link)

Bugfixes

Functional and technical bugfixes:

Framework

  • Restores ProductServices.xml for method createProductPrice (OFBIZ-10231)
  • Fixes missing link connection between alone and group permissions in class ModelPermission (OFBIZ-11440)
  • Fixes: Converts ProductServices.xml from mini lang to groovy: productPriceGenericPermission failed (OFBIZ-10231)
  • Fixes: createMissingCategoryAndProductAltUrls service misses a transaction (OFBIZ-11441)
  • Fixes: Converts OrderServices#getNextOrderId from mini lang to groovy (GitHub Link)
  • Fixes potential Nullpointer in ErrorPage.ftl (GitHub Link)
  • Fixes a bug introduced with the removal of the login security question (GitHub Link)
  • Fixes: CommonTheme has a dependency on Flatgrey application.js (GitHub Link)
  • Fixes: Unable to view entity row record in webtools if PK contains timestamp field (OFBIZ-11426)
  • Removes FIXME-tags in DataResourceWorker#renderDataResourceAsText after correctly propagate themes (GitHub Link)
  • Fixes issue with SameSite attribute that is set to 'strict' for all cookies (GitHub Link)
  • Provides class SameSiteFilter (GitHub Link)
  • Provides configurable SameSite attribute for all cookies (GitHub Link)
  • Fixes a typo in security.properties (GitHub Link)
  • Fixes: Specified key was too long; max key length is 767 bytes for ProductPromoCodeEmail entity.(OFBIZ-5426) (#44)
  • Renames ProductPromoCodeEmails foreign key name related to ProductPromoCode (GitHub Link)
  • Fixes: The createTaskContent request does not work (GitHub Link)
  • Fixes path to ftpAddress services after converting ContactMarchServices.xm from mini lang to groovy (OFBIZ-11359)

Plugins

  • Fixes: Unable to remove items from onePageCheckout screen of e-commerce component (OFBIZ-10800)
  • Fixes not included fromDate and thruDate while finding invoices in DimensionServices (OFBIZ-19048)
  • Fixes sequenceId in DimensionServices#loadCurrencyDimension (GitHub Link)
  • Ensures that the SameSite attribute is set to 'strict' for all cookies (GitHub Link)
  • Fixes: prepareProductDimensionData does not load correct fields in ProductDimension (OFBIZ-11465)
  • Replaces use of primary key 'sequenceId' with natural key 'uomId' in DimensionServices#loadCurrencyDimension (GitHub Link)
  • Fixes a typo due to OFBIZ-11030 (GitHub Link)
  • Fixes: Product Images not rendering on One Page Checkout (OFBIZ-11400)