Projet

Général

Profil

Actions

Anomalie #16592

fermé

Erreur suppression du contact dans le groupement

Ajouté par Guillaume HEURTIER il y a plus de 3 ans. Mis à jour il y a plus de 3 ans.

Statut:
R&D - Terminé
Priorité:
2-Sérieux
Assigné à:
Version cible:
Début:
16/03/2021
Echéance:
26/03/2021

Description

Ecran fiche de contact, le contact est dans un groupement
l'utilisateur n'a pas le droit "Ajouter/supprimer des correspondants dans les groupements partagés depuis le profil"

Erreur de la route delete Back :

message"Slim Application Error"exception[ {…} ]0Object { type: "Exception", code: 0, message: "Argument userId is empty", … }type"Exception"code0message"Argument userId is empty"file"/var/www/html/MaarchCourrierDev/src/core/models/ValidatorModel.php"line31trace[ "#0 /var/www/html/MaarchCourrierDev/src/app/group/controllers/PrivilegeController.php(164): SrcCore\models\ValidatorModel::notEmpty(Array, Array)", "#1 /var/www/html/MaarchCourrierDev/src/app/contact/controllers/ContactGroupController.php(519): Group\controllers\PrivilegeController::hasPrivilege(Array)", "#2 [internal function]: Contact\controllers\ContactGroupController->deleteCorrespondents(Object(Slim\Http\Request), Object(Slim\Http\Response), Array)", "#3 /var/www/html/MaarchCourrierDev/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(41): call_user_func(Array, Object(Slim\Http\Request), Object(Slim\Http\Response), Array)", "#4 /var/www/html/MaarchCourrierDev/vendor/slim/slim/Slim/Route.php(356): Slim\Handlers\Strategies\RequestResponse->__invoke(Array, Object(Slim\Http\Request), Object(Slim\Http\Response), Array)", "#5 /var/www/html/MaarchCourrierDev/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\Route->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response))", "#6 /var/www/html/MaarchCourrierDev/vendor/slim/slim/Slim/Route.php(334): Slim\Route->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response))", "#7 /var/www/html/MaarchCourrierDev/vendor/slim/slim/Slim/App.php(516): Slim\Route->run(Object(Slim\Http\Request), Object(Slim\Http\Response))", "#8 /var/www/html/MaarchCourrierDev/rest/index.php(52): Slim\App->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response))", "#9 [internal function]: Closure->{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\App))", … ]0"#0 /var/www/html/MaarchCourrierDev/src/app/group/controllers/PrivilegeController.php(164): SrcCore\models\ValidatorModel::notEmpty(Array, Array)"1"#1 /var/www/html/MaarchCourrierDev/src/app/contact/controllers/ContactGroupController.php(519): Group\controllers\PrivilegeController::hasPrivilege(Array)"2"#2 [internal function]: Contact\controllers\ContactGroupController->deleteCorrespondents(Object(Slim\Http\Request), Object(Slim\Http\Response), Array)"3"#3 /var/www/html/MaarchCourrierDev/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php(41): call_user_func(Array, Object(Slim\Http\Request), Object(Slim\Http\Response), Array)"4"#4 /var/www/html/MaarchCourrierDev/vendor/slim/slim/Slim/Route.php(356): Slim\Handlers\Strategies\RequestResponse->__invoke(Array, Object(Slim\Http\Request), Object(Slim\Http\Response), Array)"5"#5 /var/www/html/MaarchCourrierDev/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\Route->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response))"6"#6 /var/www/html/MaarchCourrierDev/vendor/slim/slim/Slim/Route.php(334): Slim\Route->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response))"7"#7 /var/www/html/MaarchCourrierDev/vendor/slim/slim/Slim/App.php(516): Slim\Route->run(Object(Slim\Http\Request), Object(Slim\Http\Response))"8"#8 /var/www/html/MaarchCourrierDev/rest/index.php(52): Slim\App->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response))"9"#9 [internal function]: Closure->{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\App))"10"#10 /var/www/html/MaarchCourrierDev/vendor/slim/slim/Slim/DeferredCallable.php(43): call_user_func_array(Object(Closure), Array)"11"#11 [internal function]: Slim\DeferredCallable->__invoke(Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\App))"12"#12 /var/www/html/MaarchCourrierDev/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\DeferredCallable), Object(Slim\Http\Request), Object(Slim\Http\Response), Object(Slim\App))"13"#13 /var/www/html/MaarchCourrierDev/vendor/slim/slim/Slim/MiddlewareAwareTrait.php(117): Slim\App->Slim\{closure}(Object(Slim\Http\Request), Object(Slim\Http\Response))"14"#14 /var/www/html/MaarchCourrierDev/vendor/slim/slim/Slim/App.php(407): Slim\App->callMiddlewareStack(Object(Slim\Http\Request), Object(Slim\Http\Response))"15"#15 /var/www/html/MaarchCourrierDev/vendor/slim/slim/Slim/App.php(315): Slim\App->process(Object(Slim\Http\Request), Object(Slim\Http\Response))"16"#16 /var/www/html/MaarchCourrierDev/rest/index.php(699): Slim\App->run()"17"#17 {main}"

Actions

Formats disponibles : Atom PDF