Keep footprint EDA info on import

Fixes #1392
This commit is contained in:
Jan Böhmer 2026-08-02 14:11:39 +02:00
parent ce3c8f3056
commit 9efa44ada0
2 changed files with 3 additions and 3 deletions

View file

@ -218,7 +218,7 @@ class Category extends AbstractPartsContainingDBElement
#[Assert\Valid]
#[ORM\Embedded(class: EDACategoryInfo::class)]
#[Groups(['full', 'category:read', 'category:write'])]
#[Groups(['full', 'category:read', 'category:write', 'import'])]
protected EDACategoryInfo $eda_info;
public function __construct()

View file

@ -122,7 +122,7 @@ class Footprint extends AbstractPartsContainingDBElement
#[ORM\OrderBy(['name' => Criteria::ASC])]
protected Collection $children;
#[Groups(['footprint:read', 'footprint:write'])]
#[Groups(['footprint:read', 'footprint:write', "import"])]
protected string $comment = '';
/**
@ -162,7 +162,7 @@ class Footprint extends AbstractPartsContainingDBElement
#[Assert\Valid]
#[ORM\Embedded(class: EDAFootprintInfo::class)]
#[Groups(['full', 'footprint:read', 'footprint:write'])]
#[Groups(['full', 'footprint:read', 'footprint:write', "import"])]
protected EDAFootprintInfo $eda_info;
public function __construct()