mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
N°7938 - Cant' create OnInsert/OnUpdate/Afterxxx methods from Designer with iTop 3.2
This commit is contained in:
@@ -347,6 +347,7 @@ EOF
|
||||
{
|
||||
$oPage->add('<div class="ui-dialog-header">'.$sIntroduction.'</div>');
|
||||
}
|
||||
$oPage->add('<div class="designer-dialog-error"></div>');
|
||||
$this->Render($oPage);
|
||||
$oPage->add('</div>');
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -397,7 +397,7 @@ class TestMyBizModel extends TestBizModel
|
||||
|
||||
protected function DoExecute()
|
||||
{
|
||||
// $this->ReportError("Found two different OQL expression out of the (same?) filter: <em>$sExpr1</em> != <em>$sExpr2</em>");
|
||||
// $this->ReportErrors("Found two different OQL expression out of the (same?) filter: <em>$sExpr1</em> != <em>$sExpr2</em>");
|
||||
// $this->ReportSuccess('Found '.$oSet->Count()." objects of class $sClassName");
|
||||
//$this->test_linksinfo();
|
||||
//$this->test_list_attributes();
|
||||
|
||||
Reference in New Issue
Block a user