Re-parent issue when disassociating categories through BizFX

  • Description

    You may experience unexpected behavior when you perform the following actions:

    1. In the Merchandising Manager, select a category and click the Disassociate action.
    2. Select the Re-Parent checkbox and enter the entity ID in the New Parent ID field for the new parent category.

    As a result, all the children under the disassociated category from step 1 do not re-parent with the category entered on step 2.

  • To fix the issue, perform the following steps in BizFX SDK:

    1. Find the following code in the \src\app\components\actions\sc-bizfx-action.component.ts file:
      submitAction(): void {
        if (!this.action.RequiresConfirmation) {
          this.prepareSaveView();
          this.doAction();
        } else {
          this.doAction();
        }
      }
      
    2. Change the code to:
      submitAction(): void {
        this.prepareSaveView();
        this.doAction();
      }
    3. Execute the "ng serve" command to re-launch the BizFX live development server.

Applies to:

Sitecore Experience Commerce 9.0 Initial Release, 9.0 Update-1

April 09, 2018
April 09, 2018