partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

commit 02ee59567a370127df0f80839513a32b93ec0a2e
parent 2549dc69b6be10ba97868788860297332c5e28c2
Author: Felicitus <felicitus@felicitus.org>
Date:   Fri, 11 Sep 2015 19:08:30 +0200

Don't serialize the parent category in order to avoid circular references

Diffstat:
Msrc/PartKeepr/FootprintBundle/Entity/FootprintCategory.php | 1-
Msrc/PartKeepr/PartBundle/Entity/PartCategory.php | 1-
Msrc/PartKeepr/StorageLocationBundle/Entity/StorageLocationCategory.php | 1-
3 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/src/PartKeepr/FootprintBundle/Entity/FootprintCategory.php b/src/PartKeepr/FootprintBundle/Entity/FootprintCategory.php @@ -21,7 +21,6 @@ class FootprintCategory extends AbstractCategory * @Gedmo\TreeParent * @ORM\ManyToOne(targetEntity="FootprintCategory", inversedBy="children") * @ORM\JoinColumn(name="parent_id", referencedColumnName="id", onDelete="CASCADE") - * @Groups({"default"}) */ protected $parent; diff --git a/src/PartKeepr/PartBundle/Entity/PartCategory.php b/src/PartKeepr/PartBundle/Entity/PartCategory.php @@ -23,7 +23,6 @@ class PartCategory extends AbstractCategory * @Gedmo\TreeParent * @ORM\ManyToOne(targetEntity="PartCategory", inversedBy="children") * @ORM\JoinColumn(name="parent_id", referencedColumnName="id", onDelete="CASCADE") - * @Groups({"default"}) */ protected $parent; diff --git a/src/PartKeepr/StorageLocationBundle/Entity/StorageLocationCategory.php b/src/PartKeepr/StorageLocationBundle/Entity/StorageLocationCategory.php @@ -21,7 +21,6 @@ class StorageLocationCategory extends AbstractCategory * @Gedmo\TreeParent * @ORM\ManyToOne(targetEntity="StorageLocationCategory", inversedBy="children") * @ORM\JoinColumn(name="parent_id", referencedColumnName="id", onDelete="CASCADE") - * @Groups({"default"}) */ protected $parent;