Documentation Home

Broadleaf Enterprise 3.2.17-GA

Release Date: September 14, 2020

This is the 17th patch release of the Enterprise 3.2.0 release. This version of the Enterprise module has the following dependencies

  • Broadleaf Commerce Framework 5.2.17-GA or higher
  • Common Enterprise version 3.2.8-GA or higher
  • Jobs and Events version 2.2.11-GA or higher
  • Pricelist version 3.2.2-GA or higher

New purge job

This job will delete all applicable records starting from a BLC_SNDBX_WRKFLW_ITEM record that is archived and older than a certain date.

By default this job runs every hour and clears all archived and finished records (and their associated records in other tables) as long as they were last updated over a year ago and are not site overrides. The period of time and cron can be adjusted from admin.

By default all workflow sandbox item records that are for site overrides are ignored as to avoid removing functionality around undo site override changes. This can be changed so that all records are removed by overriding following property

workflow.purge.keepSiteOverrides=false

Batch sizes, maximum batches and maximum items can be configured using following properties:

workflow.purge.batchSize=375
workflow.purge.maxBatches=10  #(-1 will make the purge run until it's finished)
workflow.purge.maxItems=200 

In order to register this new job type, add it to BLC_DATA_DRVN_ENUM_VAL table. This is required.

INSERT INTO BLC_DATA_DRVN_ENUM_VAL (ENUM_VAL_ID, ENUM_TYPE, ENUM_KEY, DISPLAY, HIDDEN) VALUES (-35004, -35000, 'PURGE_SNDBX_WRKFLW_ENTITIES_EVENT', 'Workflow Sandbox Item Purge', false);

After registering the job type, it will be available in admin to setup the job. Here is an example to setup with SQL.

INSERT INTO BLC_SCHED_JOB (SCHED_JOB_ID, TYPE, NAME, ENABLED, DATE_UPDATED, CRON_EXPRESSION, MANAGE_IN_ADMIN) VALUES (-124, 'PURGE_SNDBX_WRKFLW_ENTITIES_EVENT', 'Deployed Workflow Sandbox Item Purge', TRUE, CURRENT_TIMESTAMP, '0 0/60 * * * ?', TRUE);
INSERT INTO BLC_SCHED_JOB_DETAIL (SCHED_JOB_DETAIL_ID, SCHED_JOB_ID, NAME, FRIENDLY_NAME, VALUE) VALUES (-124, -124, 'MINUTES_OLD', 'Delete workflow items older than a year', '525600');

An at-a-glance view of the issues that were closed in this release:

Minor Bugs(2)

  • Fixed an issue with folder navigation in modal of asset-lookup
  • Fixed an issue which causes javascript error when creating a new offer

Features(1)

  • Implement purge job to delete archived sandbox workflow records

Total Resolved Issues: 3