From d0f816109bd733325c9b28dc294a51f675050796 Mon Sep 17 00:00:00 2001 From: Eric Espie Date: Wed, 16 Jul 2025 13:22:50 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B07938=20-=20Cant'=20create=20OnInsert/OnU?= =?UTF-8?q?pdate/Afterxxx=20methods=20from=20Designer=20with=20iTop=203.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/forms.class.inc.php | 1 + tests/php-unit-tests/legacy-tests/test.class.inc.php | 8 ++++---- tests/php-unit-tests/legacy-tests/testlist.inc.php | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/application/forms.class.inc.php b/application/forms.class.inc.php index 890475e4f..f0bb3830b 100644 --- a/application/forms.class.inc.php +++ b/application/forms.class.inc.php @@ -347,6 +347,7 @@ EOF { $oPage->add('
'.$sIntroduction.'
'); } + $oPage->add('
'); $this->Render($oPage); $oPage->add(''); diff --git a/tests/php-unit-tests/legacy-tests/test.class.inc.php b/tests/php-unit-tests/legacy-tests/test.class.inc.php index fb29aac13..e126d2da0 100644 --- a/tests/php-unit-tests/legacy-tests/test.class.inc.php +++ b/tests/php-unit-tests/legacy-tests/test.class.inc.php @@ -179,14 +179,14 @@ abstract class TestHandler } catch (CoreException $e) { - //$this->ReportError($e->getMessage()); - //$this->ReportError($e->__tostring()); + //$this->ReportErrors($e->getMessage()); + //$this->ReportErrors($e->__tostring()); $this->ReportError($e->getMessage().' - '.$e->getTraceAsHtml()); } catch (Exception $e) { - //$this->ReportError($e->getMessage()); - //$this->ReportError($e->__tostring()); + //$this->ReportErrors($e->getMessage()); + //$this->ReportErrors($e->__tostring()); $this->ReportError('class '.get_class($e).' --- '.$e->getMessage().' - '.$e->getTraceAsString()); } restore_error_handler(); diff --git a/tests/php-unit-tests/legacy-tests/testlist.inc.php b/tests/php-unit-tests/legacy-tests/testlist.inc.php index d6b40cea9..f7f8a4d66 100644 --- a/tests/php-unit-tests/legacy-tests/testlist.inc.php +++ b/tests/php-unit-tests/legacy-tests/testlist.inc.php @@ -397,7 +397,7 @@ class TestMyBizModel extends TestBizModel protected function DoExecute() { -// $this->ReportError("Found two different OQL expression out of the (same?) filter: $sExpr1 != $sExpr2"); +// $this->ReportErrors("Found two different OQL expression out of the (same?) filter: $sExpr1 != $sExpr2"); // $this->ReportSuccess('Found '.$oSet->Count()." objects of class $sClassName"); //$this->test_linksinfo(); //$this->test_list_attributes();