From 5b0949856ec0375ce5feb922c026fc10b59afd48 Mon Sep 17 00:00:00 2001 From: Alexandre Cases Date: Wed, 1 Jun 2016 12:34:00 +0200 Subject: [PATCH] Version: 2.4.2.1 --- README-LABINVENT.md | 5 +++-- src/Template/Error/error400.ctp | 43 +++++++++++++++++++++++++++++++++++++++++++ src/Template/Error/error500.ctp | 45 +++++++++++++++++++++++++++++++++++++++++++++ src/Template/Layout/default.ctp | 2 +- 4 files changed, 92 insertions(+), 3 deletions(-) diff --git a/README-LABINVENT.md b/README-LABINVENT.md index 3363c31..b31cf8b 100755 --- a/README-LABINVENT.md +++ b/README-LABINVENT.md @@ -51,11 +51,12 @@ Logiciel testé et validé sur les configurations suivantes : VERSION ACTUELLE Date: 01/06/2016 -Version: 2.4.2.0 +Version: 2.4.2.1 Implémentation de la gestion des ACL, tests, bugfixes... +Affichage erreur CakePHP en mode debug de l'application (app.php) -Demande (terminée): https://projects.irap.omp.eu/issues/3689 +Demande (terminée): https://projects.irap.omp.eu/issues/3735 Demande (en cours): https://projects.irap.omp.eu/issues/3526 https://projects.irap.omp.eu/issues/3605 diff --git a/src/Template/Error/error400.ctp b/src/Template/Error/error400.ctp index 0a8bd85..98fe16b 100755 --- a/src/Template/Error/error400.ctp +++ b/src/Template/Error/error400.ctp @@ -1,5 +1,47 @@ layout = 'dev_error'; + + $this->assign('title', $message); + $this->assign('templateName', 'error400.ctp'); + + $this->start('file'); + ?> + queryString)) : ?> +

+ SQL Query: + queryString) ?> +

+ + params)) : ?> + SQL Query Params: + params) ?> + + element('auto_table_warning') ?> + end(); + ?> +

+

+ : + '{$url}'" + ) ?> +

+layout = false; ?> @@ -121,3 +163,4 @@ if(AppController::isLabinventDebugMode()) { ?> + diff --git a/src/Template/Error/error500.ctp b/src/Template/Error/error500.ctp index 0a8bd85..c976235 100755 --- a/src/Template/Error/error500.ctp +++ b/src/Template/Error/error500.ctp @@ -1,5 +1,49 @@ layout = 'dev_error'; + + $this->assign('title', $message); + $this->assign('templateName', 'error500.ctp'); + + $this->start('file'); + ?> + queryString)) : ?> +

+ SQL Query: + queryString) ?> +

+ + params)) : ?> + SQL Query Params: + params) ?> + + + Error in: + getFile()), $error->getLine()) ?> + + element('auto_table_warning'); + + if (extension_loaded('xdebug')): + xdebug_print_function_stack(); + endif; + + $this->end(); + ?> +

+

+ : + + +

+layout = false; ?> @@ -121,3 +165,4 @@ if(AppController::isLabinventDebugMode()) { ?> + \ No newline at end of file diff --git a/src/Template/Layout/default.ctp b/src/Template/Layout/default.ctp index c1490f6..08f1de1 100755 --- a/src/Template/Layout/default.ctp +++ b/src/Template/Layout/default.ctp @@ -93,7 +93,7 @@ $cakeDescription = 'Labinvent 2.0'; - VERSION 2.4.2.0 (01/06/2016) + VERSION 2.4.2.1 (01/06/2016) -- libgit2 0.21.2