Skip to content

Latest commit

 

History

History
20 lines (19 loc) · 1.11 KB

2020-11-19-enforce-required-constraint-for-feature-set-name.md

File metadata and controls

20 lines (19 loc) · 1.11 KB
Error in user YAML: (<unknown>): found character that cannot start any token while scanning for the next token at line 5 column 16
---
title: Enforce required constraint for feature set name
issue: NEXT-11000
author: Philip Gatzka
author_email: p.gatzka@shopware.com 
author_github: @philipgatzka
---

Core

  • Added required flag to the TranslationAssociationField in \Shopware\Core\Content\Product\Aggregate\ProductFeatureSet\ProductFeatureSetDefinition

Administration

  • Changed mapPropertyErrors call to actually reflect the entity name in platform/src/Administration/Resources/app/administration/src/module/sw-settings-product-feature-sets/page/sw-settings-product-feature-sets-detail/index.js
  • Added :error properties to the following inputs in platform/src/Administration/Resources/app/administration/src/module/sw-settings-product-feature-sets/page/sw-settings-product-feature-sets-detail/sw-settings-product-feature-sets-detail.html.twig:
    • .sw-settings-product-feature-sets-detail__name
    • .sw-settings-product-feature-sets-detail__description

Upgrade Information

In case you've been creating empty feature sets using the current faulty behaviour, please make sure to at least include a name for any new feature set from now on.