Project

General

Profile

Anomalie #15121

Visualiser les pdf retour Maarch Parapheur

Added by Ludovic ARAUJO over 1 year ago. Updated 12 months ago.

Status:
Développé / Analysé (S)
Priority:
1-Majeur
Assignee:
Florian AZIZIAN
Target version:
Start date:
10/13/2020
Due date:
Tags Courrier:

Description

AttachmentController.php, 140 :

$attachment['signedResponse'] = $signedResponse[0]['res_id'];
if (!empty($signedResponse[0]['signatory_user_serial_id'])) {
$attachment['signatory'] = UserModel::getLabelledUserById(['id' => $signedResponse[0]['signatory_user_serial_id']]);
} else {
$attachment['signatory'] = UserModel::getLabelledUserById(['login' => $signedResponse[0]['typist']]);
}
$attachment['signDate'] = $signedResponse[0]['creation_date'];

UserModel.php, 278 :

    public static function getLabelledUserById(array $aArgs)
    {
        ValidatorModel::intVal($aArgs, ['id']);
        ValidatorModel::stringType($aArgs, ['login']);

Le typist est un ID, hors on contrôle un string.
Il faudrait choisir un type concordant.

History

#1 Updated by Emmanuel DILLARD over 1 year ago

  • Status changed from A qualifier to A traiter
  • Priority changed from 0-Bloquant to 1-Majeur

#2 Updated by Emmanuel DILLARD over 1 year ago

  • Status changed from A traiter to Prêt à développer

#3 Updated by Emmanuel DILLARD over 1 year ago

  • Subject changed from Visualiser les pdf revenu du parapheur to Visualiser les pdf retour Maarch Parapheur

#4 Updated by Emmanuel DILLARD over 1 year ago

  • Project changed from Backlog to CURRENT SPRINT
  • Status changed from Prêt à développer to En cours de dev (S)

#5 Updated by Florian AZIZIAN over 1 year ago

  • Assignee deleted (EDI PO)

#6 Updated by Florian AZIZIAN over 1 year ago

  • Assignee set to Florian AZIZIAN

#7 Updated by Florian AZIZIAN over 1 year ago

  • Status changed from En cours de dev (S) to Développé / Analysé (S)

#8 Updated by Emmanuel DILLARD over 1 year ago

  • Project changed from CURRENT SPRINT to Backlog

#10 Updated by Emmanuel DILLARD 12 months ago

  • Project changed from Backlog to Backlog Courrier
  • Target version changed from 20.10 Develop to 20.10 (Actif)

Also available in: Atom PDF