Apache OFBiz News May 2017

Welcome to our regular monthly round-up of OFBiz news.
This month we have news about our new OFBiz release, we begin work on tidying up and re-structuring our wiki, work starts on improving end user documentation for our users and creating reports in OFBiz gets easier.

Apache OFBiz 16.11.02 Released

During this month the community announced the release of 16.11.02. This release consolidates all work done since the previous release in November last year. The complete OFBiz 16.11 series of releases is dedicated to the memory of Adrian Crum, OFBiz Committer and former PMC member who died last year.

The release file can be downloaded following the instructions in the OFBiz Downloads page.

Please refer to the Release Notes for more details of the changes introduced with this new version.

A big thank you to everyone from the community who was involved in helping to get the release done.

Re-structuring the OFBiz Wiki

A key discussion this month was about a proposal to re-organize and restructure our existing wiki. The main aim will be to get it clean and more user friendly so that people can easily navigate and locate the information they need.
Over the years our wiki has evolved and has become a little cluttered, meaning that information is spread across several pages or even workspaces. This can make it difficult for the community to find what they need. Documentation is extremely important for new users so this effort is more than welcome.

Our wiki contains lots of useful information but also some older or outdated resources, so we need to work on tidying it up. An initial basic structure has been agreed upon as follows:

  • Apache OFBiz - How and where to start?
  • Documentation
  • Community
  • Developers
  • Apache Software Foundation
  • Wiki Attic

Please note that this structure has already been implemented as the main wiki navigation menu. The next focus will be on reviewing the wiki pages and re-organizing them into these main categories.

Many thanks to Michael Brohl for proposing and kickstarting this effort. We are looking for people to contribute to this work so if you are interested in helping with the wiki clean up effort then please join the discussion on the development mailing list.

End User Documentation

Another community initiative that was launched last month was about end user documentation. We currently do not have a consolidated end user guide that gives practical information about the setup and use of the standard OFBiz applications. Feedback from the community has shown that this is an important area that we need to address.

Please note that the focus of this effort will be to provide information for users and non-technical people.

The following points are part of the proposal:

  • OFBiz Glossary : Putting together a full glossary of OFBiz words, definitions and concepts so that the people have a common understanding of what things mean
  • End User Guide : This guide will give users an overview of the applications and processes of OFBiz and will include a basic list of tasks for each process
  • Menu Structured Documentation : Documentation that follows the existing menu structure and provides details about a specific screen. Hopefully this will eventually
    replace or update the current in-application screen help that is available already within OFBiz
  • How-Tos : This will be a quick reference How-To by topic
  • Examples and Tutorials : These will provide practical examples of using the applications in a real life scenario

We will be temporarily using our existing End User Documentation confluence workspace to work on and prepare these. As the documentation sections are completed, they will be moved back onto our re-structured wiki.

Thanks very much to Craig Parker and Sharan Foga, who are leading and co-ordinating this effort. If you are interested in helping contribute or would like to be involved then please join the End User Documentation discussion on our development mailing list.

OFBiz Flexible Reports

Also announced this month was the creation of OFBiz Flexible Reports. This is a new feature that was recently added. Documentation about Flexible Reports is included in the OFBiz Birt component as part of the markdown files.

This is a major improvement for creating reports in OFBiz. Essentially it is now a lot simpler for users to use the Birt component within OFBiz to easily create, modify and update reports.

More details about the changes can be found here.

New features and improvements

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

Framework

  • Update msyql sql-type for datetime field-type to support Fractional Seconds in Time Values (OFBIZ-9337)
  • Remove final remaining dependencies from framework on plugins (OFBIZ-9322)
  • Add support for 'set-if-null' and 'set-if-empty' attributes on screens for "set" element (OFBIZ-9251)
    "set-if-null" controls if field can be set to null and "set-if-empty" controls if field can be set to an empty value.
  • Refactor fields with "id-ne", "id-long-ne" and "id-vlong-ne" to "id", "id-long" and "id-vlong" respectively which are primary keys (OFBIZ-9354)
    The new field types will be given the "not-null=true" attribute in order to make the fields NOT NULL in the database (similarly to primary keys). This change will be reflected in the documentation. This discussion sparked the change.
  • Split the tools folder from the trunk and put it in another branch (OFBIZ-9256)
    The tools folder contains only tools used by the OFBiz team and is of no help for OFBiz users. So this should not be delivered with the OFBiz trunk, plugins or releases.
  • Improvement of String Comparisons (OFBIZ-9254)
    There is an inconsistency in the code for string comparisons. For example statusId.equals("PRUN_COMPLETED") should be written as "PRUN_COMPLETED".equals(statusId) because the former can throw NullPointerException if the variable is found to be NULL.
  • Upgrade Tomcat to 8.5.15 (OFBIZ-9366)
  • Convert RateServices.xml from mini-lang to groovyDSL (OFBIZ-9381)
    Related to task OFBIZ-9350 . Deprecate mini-lang by converting the services updateRateAmount, deleteRateAmount, updatePartyRate and deletePartyRate from mini-ang to groovyDSL.

Plugins

  • Update Apache Solr/Lucene to release 6.2.1 (OFBIZ-8316)
  • Rename Lucene runtime folders to clearly show the origin (OFBIZ-9357)
  • Improvement of String Comparisons (see above) (OFBIZ-9254)
  • Refactor fields which are primary keys for plugin components (see above) (OFBIZ-9351)

Bugfixes

Functional and technical bugfixes:

Framework

  • Remove duplicated data for PartyStatus
    Reference discussion: https://s.apache.org/T2UD
  • Error viewing tomahawk-themed page when externalLoginKey is not enabled (OFBIZ-9345)
  • In TemporalExpressions.Frequency the starting times of a job move away from given freqCount raster (OFBIZ-9374)
    If a job is scheduled using TemporalExpressions.Frequency the start time of the job will gradually move forward when the excecution of the job is delayed by one or more units of the frequency type.

Plugins

  • Multisite feature not working properly due to URL modification (OFBIZ-7120)

Documentation

Framework

  • Remove unnecessary field types (see above) (OFBIZ-9351)