From 9ec36a76f63f3643e1187d64b4afaaee7fd8649b Mon Sep 17 00:00:00 2001 From: Eric Date: Wed, 10 Apr 2019 12:12:31 +0200 Subject: [PATCH] =?UTF-8?q?Carbon:=20N=C2=B01589=20-=20Check=20migration?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- setup/modelfactory.class.inc.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/setup/modelfactory.class.inc.php b/setup/modelfactory.class.inc.php index 9bcd3904f..acce73681 100644 --- a/setup/modelfactory.class.inc.php +++ b/setup/modelfactory.class.inc.php @@ -615,8 +615,8 @@ class ModelFactory if (!$oTargetParentNode) { - echo "Dumping target doc - looking for '$sParentId'
\n"; - $this->oDOMDocument->firstChild->Dump(); + // echo "Dumping target doc - looking for '$sParentId'
\n"; + // $this->oDOMDocument->firstChild->Dump(); $sPath = MFDocument::GetItopNodePath($oSourceNode); $iLine = $oSourceNode->getLineNo(); throw new MFException($sPath.' at line '.$iLine.": parent class '$sParentId' could not be found", MFException::PARENT_NOT_FOUND, $iLine, $sPath, $sParentId); @@ -633,8 +633,8 @@ class ModelFactory } else { - echo "Dumping target doc - looking for '".$oSourceNode->getAttribute('id')."'
\n"; - $this->oDOMDocument->firstChild->Dump(); + // echo "Dumping target doc - looking for '".$oSourceNode->getAttribute('id')."'
\n"; + // $this->oDOMDocument->firstChild->Dump(); $sPath = MFDocument::GetItopNodePath($oSourceNode); $iLine = $oSourceNode->getLineNo(); throw new MFException($sPath.' at line '.$iLine.": could not be found", MFException::NOT_FOUND, $iLine, $sPath); @@ -2307,8 +2307,8 @@ class MFElement extends Combodo\iTop\DesignElement { if ($bMustExist) { - echo "Dumping parent node
\n"; - $oContainer->Dump(); + //echo "Dumping parent node
\n"; + //$oContainer->Dump(); throw new Exception(MFDocument::GetItopNodePath($this).' at line '.$this->getLineNo().": could not be found"); } if (!$bIfExists)