We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dff65df commit 81914faCopy full SHA for 81914fa
Entity/AbstractData.php
@@ -874,8 +874,7 @@ public function __clone()
874
$this->__construct($this->getFamily());
875
876
foreach ($newValues as $newValue) {
877
- $this->values->add($newValue);
878
- $newValue->setData($this);
+ $this->addValue($newValue);
879
}
880
881
Entity/AbstractValue.php
@@ -560,9 +560,6 @@ public function __clone()
560
{
561
$this->id = null;
562
$attribute = $this->getAttribute();
563
- if ($this->dataValue && $attribute->getType()->isEmbedded()) {
564
- $this->dataValue = clone $this->dataValue;
565
- }
566
567
568
/**
0 commit comments