Project

General

Profile

Anomalie #8237

[WEBSERVICE] Création Contact

Added by Emmanuel DILLARD almost 4 years ago. Updated 11 months ago.

Status:
Développé / Analysé (S)
Priority:
1-Majeur
Assignee:
-
Target version:
Start date:
08/03/2018
Due date:
Tags Courrier:
18.04.8

Description

Lors de l'utilisation du WS de création de contact, si le contact est une personne morale (is_corporate_person = Y) le contact ne se créée pas.

En effet, les index "firstname" et "lastname" sont unset, ce qui bloque le script lors de l'appel "$contactId = ContactModel::create($data);"

if ($data['isCorporatePerson'] != 'Y') {
$data['isCorporatePerson'] = 'N';
} else {
$data['addressFirstname'] = $data['firstname'];
$data['addressLastname'] = $data['lastname'];
unset($data['firstname'], $data['lastname']);
}

FIX temp : commenter la ligne : "unset($data['firstname'], $data['lastname']);"

History

#2 Updated by Emmanuel DILLARD over 3 years ago

  • Project changed from Backlog to CURRENT SPRINT
  • Status changed from Prêt à développer to En cours de dev (S)
  • Target version set to 18.10 (support sécurité)
  • Tags Courrier 18.04.8 added

#3 Updated by Emmanuel DILLARD over 3 years ago

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

#4 Updated by Emmanuel DILLARD over 3 years ago

  • Project changed from CURRENT SPRINT to Backlog

#5 Updated by Emmanuel DILLARD 11 months ago

  • Project changed from Backlog to Backlog Courrier
  • Target version changed from 18.10 (support sécurité) to 18.10 (Sécurité)

Also available in: Atom PDF