When you have family with 0 required attributes. And a product based on that family. When you try to edit the project an http 500 internal server error happens.
Traced this back to the product nomalizer trying to run \Akeneo\Pim\Structure\Bundle\Query\InternalApi\Family\GetRequiredAttributesMasksAggregator
which in turn throws a NonExistingFamiliesExtension
When you have family with 0 required attributes. And a product based on that family. When you try to edit the project an http 500 internal server error happens.
Traced this back to the product nomalizer trying to run \Akeneo\Pim\Structure\Bundle\Query\InternalApi\Family\GetRequiredAttributesMasksAggregator which in turn throws a NonExistingFamiliesExtension
GetRequiredAttributesMasksAggregator.php:37, Akeneo\Pim\Structure\Bundle\Query\InternalApi\Family\GetRequiredAttributesMasksAggregator->fromFamilyCodes() MissingRequiredAttributesCalculator.php:49, Akeneo\Pim\Enrichment\Component\Product\Completeness\MissingRequiredAttributesCalculator->fromEntityWithFamily() ProductModelNormalizer.php:161, Akeneo\Pim\Enrichment\Component\Product\Normalizer\InternalApi\ProductModelNormalizer->normalize() Serializer.php:161, Symfony\Component\Serializer\Serializer->normalize() ProductModelController.php:401, Akeneo\Pim\Enrichment\Bundle\Controller\InternalApi\ProductModelController->normalizeProductModel() ProductModelController.php:119, Akeneo\Pim\Enrichment\Bundle\Controller\InternalApi\ProductModelController->getAction() HttpKernel.php:163, Symfony\Component\HttpKernel\HttpKernel->handleRaw() HttpKernel.php:75, Symfony\Component\HttpKernel\HttpKernel->handle() Kernel.php:202, Symfony\Component\HttpKernel\Kernel->handle() index.php:20, {main}()