Try to edit one product, e.g., change name from {name} to {name}1.
Save.
Click Edit.
Expected result: In editing mode, product name field value should be {name}1.
Actual result: Product name field is the old one {name}.
Cause: PageEditor.ts
Field value was set back to original value due to the call to reSetEditingFields when entering editing mode. Need to apply changes to the "this.parameters.product" when saving changes to avoid this issue.
private startEditing = () => {
this.isInEditingMode(true);
this.reSetEditingFields();
}
Expected result: In editing mode, product name field value should be {name}1.
Actual result: Product name field is the old one {name}.
Cause: PageEditor.ts Field value was set back to original value due to the call to reSetEditingFields when entering editing mode. Need to apply changes to the "this.parameters.product" when saving changes to avoid this issue. private startEditing = () => { this.isInEditingMode(true); this.reSetEditingFields(); }