title | issue |
---|---|
Fix DAL validation for fields with `Required` and `AllowEmptyString` flags |
NEXT-26846 |
- Changed
\Shopware\Core\Framework\DataAbstractionLayer\FieldSerializer\StringFieldSerializer
and\Shopware\Core\Framework\DataAbstractionLayer\FieldSerializer\LongTextFieldSerializer
to add aNotNull
constraint for the validation if the field has theRequried
andAllowEmptyString
flags. - Changed
\Shopware\Core\DevOps\StaticAnalyze\PHPStan\Type\CollectionHasSpecifyingExtension
to fix a bug, that lead to wrong phpstan errors. - Deprecated the
\Shopware\Core\Framework\Api\Converter\ApiVersionConverter
,\Shopware\Core\Framework\Api\Converter\ConverterRegistry
and\Shopware\Core\Framework\Api\Converter\Exceptions\ApiConversionException
as API conversation was not used anymore.
The API-Conversion mechanism was not used anymore, therefore, the following classes were removed:
\Shopware\Core\Framework\Api\Converter\ApiVersionConverter
\Shopware\Core\Framework\Api\Converter\ConverterRegistry
\Shopware\Core\Framework\Api\Converter\Exceptions\ApiConversionException