Projet

Général

Profil

Actions

Anomalie #17609

fermé

impossible de désactiver un compte

Ajouté par Henri QUENEAU il y a plus de 3 ans. Mis à jour il y a plus de 3 ans.

Statut:
R&D - Terminé
Priorité:
0-Bloquant
Assigné à:
Henri QUENEAU
Version cible:
Début:
29/06/2021
Echéance:
30/06/2021

Description

En tant qu'administrateur je souhaite désactiver un compte sauf que j'obtiens l'erreur ci-dessous:


{
    "message": "Slim Application Error",
    "exception": [
        {
            "type": "Exception",
            "code": 0,
            "message": "Argument login is not a string (type)",
            "file": "\/var\/www\/html\/maarch2103\/src\/core\/models\/ValidatorModel.php",
            "line": 79,
            "trace": [
                "#0 \/var\/www\/html\/maarch2103\/src\/app\/user\/models\/UserModel.php(153): SrcCore\\models\\ValidatorModel::stringType(Array, Array)",
                "#1 \/var\/www\/html\/maarch2103\/src\/app\/entity\/controllers\/ListInstanceController.php(270): User\\models\\UserModel::getByLogin(Array)",
                "#2 \/var\/www\/html\/maarch2103\/src\/app\/entity\/controllers\/ListInstanceController.php(193): Entity\\controllers\\ListInstanceController::updateListInstance(Array)",
                "#3 [internal function]: Entity\\controllers\\ListInstanceController->update(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)",
                "#4 \/var\/www\/html\/maarch2103\/vendor\/slim\/slim\/Slim\/Handlers\/Strategies\/RequestResponse.php(40): call_user_func(Array, Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)",
                "#5 \/var\/www\/html\/maarch2103\/vendor\/slim\/slim\/Slim\/Route.php(281): Slim\\Handlers\\Strategies\\RequestResponse->__invoke(Array, Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Array)",
                "#6 \/var\/www\/html\/maarch2103\/vendor\/slim\/slim\/Slim\/MiddlewareAwareTrait.php(117): Slim\\Route->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))",
                "#7 \/var\/www\/html\/maarch2103\/vendor\/slim\/slim\/Slim\/Route.php(268): Slim\\Route->callMiddlewareStack(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))",
                "#8 \/var\/www\/html\/maarch2103\/vendor\/slim\/slim\/Slim\/App.php(503): Slim\\Route->run(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))",
                "#9 \/var\/www\/html\/maarch2103\/rest\/index.php(52): Slim\\App->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))",
                "#10 [internal function]: Closure->{closure}(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))",
                "#11 \/var\/www\/html\/maarch2103\/vendor\/slim\/slim\/Slim\/DeferredCallable.php(57): call_user_func_array(Object(Closure), Array)",
                "#12 [internal function]: Slim\\DeferredCallable->__invoke(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))",
                "#13 \/var\/www\/html\/maarch2103\/vendor\/slim\/slim\/Slim\/MiddlewareAwareTrait.php(70): call_user_func(Object(Slim\\DeferredCallable), Object(Slim\\Http\\Request), Object(Slim\\Http\\Response), Object(Slim\\App))",
                "#14 \/var\/www\/html\/maarch2103\/vendor\/slim\/slim\/Slim\/MiddlewareAwareTrait.php(117): Slim\\App->Slim\\{closure}(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))",
                "#15 \/var\/www\/html\/maarch2103\/vendor\/slim\/slim\/Slim\/App.php(392): Slim\\App->callMiddlewareStack(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))",
                "#16 \/var\/www\/html\/maarch2103\/vendor\/slim\/slim\/Slim\/App.php(297): Slim\\App->process(Object(Slim\\Http\\Request), Object(Slim\\Http\\Response))",
                "#17 \/var\/www\/html\/maarch2103\/rest\/index.php(708): Slim\\App->run()",
                "#18 {main}"
            ]
        }
    ]
}

vu avec Guillaume


Fichiers

Actions

Formats disponibles : Atom PDF