Broadleaf Microservices
  • v1.0.0-latest-prod

Release Notes for 1.1.1

Table of Contents

Bug Fixes

  • Fixed bug where users in multiple Customer Segments would not see Content Zone Items applying.

    • This was caused by incorrect metadata configuration causing the display rule to use a contains instead of a containsAny (intersection) comparison between the list of targeting Customer Segments and the list of the current user’s actual segments.

    • A migration script is included with the upgrade to correct any existing rules and will be automatically run by liquibase. Also provided here for convenience.

      -- liquibase formatted sql
      -- changeset broadleaf:content-zone-item-display-rules-migration
      
      UPDATE BLC_CONTENT_ZONE
      SET ALTERNATE_ITEM_SETS =
          REGEXP_REPLACE(ALTERNATE_ITEM_SETS,
              'contains(.customer\?\.customerSegmentIds)',
              'containsAny(customer?.customerSegmentIds');
      
      UPDATE BLC_CONTENT_ZONE
      SET DEFAULT_ITEMS =
          REGEXP_REPLACE(DEFAULT_ITEMS,
              'contains(.customer\?\.customerSegmentIds)',
              'containsAny(customer?.customerSegmentIds');
  • Fixed Content Item Browse grid not being marked as profileDiscriminated leading to the Profile selector ribbon not working correctly in some contexts.