Actions
Anomalie #13528
fermécliquer dans le champs recherche provoque une erreur sql dans la source des filtres
Début:
10/03/2020
Echéance:
Description
http://10.2.95.83/maarch_v2/rest/resourcesList/users/18/groups/3/baskets/12/filters?init
type Exception
code 0
message SQLSTATE[42601]: Syntax error: 7 ERREUR: erreur de syntaxe sur ou près de « ) » LINE 1: ...ders.folder_id WHERE resources_folders.res_id in () AND (fol... ^
file /var/www/html/maarch_v2/src/core/models/DatabasePDO.php
line 167
trace […]
0 #0 /var/www/html/maarch_v2/src/core/models/DatabaseModel.php(121): SrcCore\models\DatabasePDO->query('SELECT folders....', Array)
1 #1 /var/www/html/maarch_v2/src/app/folder/models/FolderModelAbstract.php(146): SrcCore\models\DatabaseModel::select(Array)
2 #2 /var/www/html/maarch_v2/src/app/resource/controllers/ResourceListController.php(1158): Folder\models\FolderModelAbstract::getWithEntitiesAndResources(Array)
3 #3 /var/www/html/maarch_v2/src/app/resource/controllers/ResourceListController.php(182): Resource\controllers\ResourceListController::getFormattedFilters(Array)
4 #4 [internal function]: Resource\controllers\ResourceListController->getFilters(Object(Slim\Http\Request), Object(Slim\Http\Response), Array)
5 #5 /var/www/html/maarch_v2/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(41): call_user_func(Array, Object(Slim\Http\Request), Object(Slim\Http\Response), Array)
6 #6 /var/www/html/maarch_v2/vendor/slim/slim/Slim/Route.php(356): Slim\Handlers\Strategies\RequestResponse->__invoke(Array, Object(Slim\Http\Request), Object(Slim\Http\Response), Array)
7 #7 /var/www/html/maarch_v2/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\Route->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response))
8 #8 /var/www/html/maarch_v2/vendor/slim/slim/Slim/Route.php(334): Slim\Route->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response))
9 #9 /var/www/html/maarch_v2/vendor/slim/slim/Slim/App.php(516): Slim\Route->run(Object(Slim\Http\Request), Object(Slim\Http\Response))
10 #10 /var/www/html/maarch_v2/rest/index.php(50): Slim\App->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response))
11 #11 [internal function]: Closure->{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\App))
12 #12 /var/www/html/maarch_v2/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array(Object(Closure), Array)
13 #13 [internal function]: Slim\DeferredCallable->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\App))
14 #14 /var/www/html/maarch_v2/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\DeferredCallable), Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\App))
15 #15 /var/www/html/maarch_v2/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\App->Slim\{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response))
16 #16 /var/www/html/maarch_v2/vendor/slim/slim/Slim/App.php(407): Slim\App->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response))
17 #17 /var/www/html/maarch_v2/vendor/slim/slim/Slim/App.php(315): Slim\App->process(Object(Slim\Http\Request), Object(Slim\Http\Response))
18 #18 /var/www/html/maarch_v2/rest/index.php(557): Slim\App->run()
19 #19 {main}
Fichiers
Actions