From 26033774b8ce95f0abc8aee0bb58bc6b5a9c06cb Mon Sep 17 00:00:00 2001 From: Anne-Catherine <57360138+accognet@users.noreply.github.com> Date: Wed, 19 Aug 2026 08:22:35 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B09622=20-=20Error=20in=20the=20user=20sto?= =?UTF-8?q?ry=20life=20cycle=20(#915)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/cmdbabstract.class.inc.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/application/cmdbabstract.class.inc.php b/application/cmdbabstract.class.inc.php index b3679a5b31..641820262b 100644 --- a/application/cmdbabstract.class.inc.php +++ b/application/cmdbabstract.class.inc.php @@ -3066,8 +3066,12 @@ EOF } $aAllowedValues = MetaModel::GetAllowedValues_att($sClass, $sAttCode, $aArgs); if (is_array($aAllowedValues) && count($aAllowedValues) == 1) { - $aValues = array_keys($aAllowedValues); - $this->Set($sAttCode, $aValues[0]); + // linkset are ignored + // N°9622 - Error in the user story life cycle + if (!$oAttDef->IsLinkSet()) { + $aValues = array_keys($aAllowedValues); + $this->Set($sAttCode, $aValues[0]); + } } } }