File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -422,7 +422,7 @@ private function createPositions(GroupBuilder $groupBuilder): bool
422422 $ position = new ComponentPosition ();
423423 $ position ->sortValue = $ item ['sort ' ];
424424 $ position ->component = $ component ;
425- $ componentGroup -> addComponentPosition ( $ position ) ;
425+ $ position -> componentGroup = $ componentGroup ;
426426 $ this ->timestampedPersister ->persistTimestampedFields ($ position , true );
427427 $ this ->persistWithAssociations ($ component );
428428 $ this ->manager ->persist ($ position );
@@ -433,7 +433,7 @@ private function createPositions(GroupBuilder $groupBuilder): bool
433433 $ position = new ComponentPosition ();
434434 $ position ->sortValue = $ item ['sort ' ];
435435 $ position ->pageDataProperty = $ item ['property ' ];
436- $ componentGroup -> addComponentPosition ( $ position ) ;
436+ $ position -> componentGroup = $ componentGroup ;
437437 $ this ->timestampedPersister ->persistTimestampedFields ($ position , true );
438438 $ this ->manager ->persist ($ position );
439439 $ hasAny = true ;
You can’t perform that action at this time.
0 commit comments