Broadleaf Enterprise 4.2.6-GA
Released on April 13, 2021
This is the 6th patch release for the Broadleaf Enterprise 4.2.x module. This module requires Broadleaf Framework 6.1.6-GA or greater.
New purge processes
Historical Order Purge
A new historical purge process has been added as of Enterprise 4.2.6-GA (6.1.6-GA core). This new process will purge (delete) submitted orders and associated data that is older than a specified date. See the Enterprise Module documentation for details on how to enable and configuration for the job to execute. Historical Order Purge Documentation.
Abandoned entities Purge
When new entities are not saved and abandoned, they are left in the database with admin status as new. A new process is added to find those abandoned entities and purge them.
Here is MySQL example to setup the scheduled job with this new purge process.
-- setup the job
INSERT INTO BLC_SCHED_JOB (SCHED_JOB_ID, TYPE, NAME, ENABLED, DATE_UPDATED, CRON_EXPRESSION, MANAGE_IN_ADMIN) VALUES (-301, 'ADDITION_STATUS_PURGE', 'Addition Status as NEW Purge', FALSE, CURRENT_TIMESTAMP, '0 0/59 * * * ?', TRUE);
-- parameters for the job
INSERT INTO BLC_SCHED_JOB_DETAIL (SCHED_JOB_DETAIL_ID, SCHED_JOB_ID, NAME, FRIENDLY_NAME, VALUE) VALUES (-300, -301, 'SECONDS_OLD', 'Delete Addition Status as NEW older than a day', '86400');
INSERT INTO BLC_SCHED_JOB_DETAIL (SCHED_JOB_DETAIL_ID, SCHED_JOB_ID, NAME, FRIENDLY_NAME, VALUE) VALUES (-302, -301, 'BATCH_SIZE', 'Delete Addition Status as NEW batch size', '50');
INSERT INTO BLC_SCHED_JOB_DETAIL (SCHED_JOB_DETAIL_ID, SCHED_JOB_ID, NAME, FRIENDLY_NAME, VALUE) VALUES (-303, -301, 'RETRY_FAILED_SECONDS', 'Purge error retry 48 hrs', '172800');
-- declare the enum (required)
INSERT INTO BLC_DATA_DRVN_ENUM_VAL (ENUM_VAL_ID, ENUM_TYPE, ENUM_KEY, DISPLAY, HIDDEN) VALUES (-35005, -35000, 'ADDITION_STATUS_PURGE', 'Addition Status Purge', false);
An at-a-glance view of the issues that were closed in this release:
Critical Bugs(2)
- Fixed various issues during the workflow and propagation with Simple Transition enabled.
- Added the missing audit data when using Simple Transition.
Major Bugs(2)
- Fixed the issue with Solr invalidation after deploying changes with the 'Skip Promotion Sandbox' permission.
- Fixed the issue with
GetEntityStatusfor Manage Inventory which was causing anIndexOutOfBoundsexception
Minor Bugs(3)
- Fixed the workflow listgrids ('My Changes'/'Approvals') in the admin to show correct data.
- Fixed the issue with filter button in the workflow listgrids ('My Changes'/'Approvals') after multiple promotions.
- Fixed the issue where override records were not getting archived after "Undo site changes" operation.
Enhancements(3)
- Added ability to merge change sets during promotion with Simple Transition. This can be disabled by the property
strategy.simple.merge.on.promotewhich is true by default. - Added two new purge processes which are mentioned above.
- Merged bug fixes and enhancements included in 4.0.15-GA
Total Resolved Issues: 10