Skip to content

Commit

Permalink
Fixed imports of parameters on parts
Browse files Browse the repository at this point in the history
It was missing the required serialization group. This fixes issue #718
  • Loading branch information
jbtronics committed Oct 13, 2024
1 parent 76e945b commit 0c47aa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Entity/Parts/Part.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ class Part extends AttachmentContainingDBElement
/** @var Collection<int, PartParameter>
*/
#[Assert\Valid]
#[Groups(['full', 'part:read', 'part:write'])]
#[Groups(['full', 'part:read', 'part:write', 'import'])]
#[ORM\OneToMany(mappedBy: 'element', targetEntity: PartParameter::class, cascade: ['persist', 'remove'], orphanRemoval: true)]
#[ORM\OrderBy(['group' => Criteria::ASC, 'name' => 'ASC'])]
#[UniqueObjectCollection(fields: ['name', 'group', 'element'])]
Expand Down

0 comments on commit 0c47aa2

Please sign in to comment.