N°8772 - Form dependencies manager implementation

- Form SDK implementation
- Basic Forms
- Dynamics Forms
- Basic Blocks + Data Model Block
- Form Compilation
- Turbo integration
This commit is contained in:
Benjamin Dalsass
2025-12-30 11:42:55 +01:00
committed by GitHub
parent 3955b4eb22
commit 4c1ad0f4f2
813 changed files with 115243 additions and 489 deletions

View File

@@ -51,7 +51,7 @@ class ErrorPage extends NiceWebPage
$this->log_warning($sText);
}
public function error($sText)
public function error($sText, \Throwable $oException = null)
{
$this->add("<div class=\"message message-error\">$sText</div>");
if (utils::IsEasterEggAllowed()) {
@@ -59,6 +59,10 @@ class ErrorPage extends NiceWebPage
$this->add('<img src="'.utils::GetAbsoluteUrlAppRoot().'images/alpha-fatal-error.gif">');
$this->add('<div class="message message-valid">'.nl2br(Dict::S('UI:ErrorPage:KittyDisclaimer')).'</div>');
}
if (!is_null($oException)) {
$this->log_exception($oException->getMessage(), $oException);
return;
}
$this->log_error($sText);
}
@@ -78,6 +82,10 @@ class ErrorPage extends NiceWebPage
return parent::output();
}
public static function log_exception($sText, \Throwable $oException)
{
IssueLog::Exception($sText, $oException);
}
public static function log_error($sText)
{