Merge pull request 'Fixed create image - relation SW' (#91) from develop into main
testing/ogcore-api/pipeline/head There was a failure building this commit Details
ogcore-debian-package/pipeline/head This commit looks good Details

Reviewed-on: #91
pull/92/head
Manuel Aranda Rosales 2026-04-22 08:52:53 +02:00
commit 960080d832
1 changed files with 0 additions and 1 deletions

View File

@ -373,7 +373,6 @@ class StatusController extends AbstractController
$softwareProfile = new SoftwareProfile();
$softwareProfile->setDescription('SW Profile - ' . $image->getClient()->getName());
$softwareProfile->setOrganizationalUnit($image->getClient()->getOrganizationalUnit());
foreach ($existingSoftware as $softwareEntity) {
$softwareEntity->addSoftwareProfile($softwareProfile);