Projekt

Allgemein

Profil

Aktionen

GX-Bug #70102

geschlossen

Guest accounts could be registered with existing email from API v3

Von Ahmed Hamouda vor mehr als 1 Jahr hinzugefügt. Vor mehr als 1 Jahr aktualisiert.

Status:
Erledigt
Priorität:
Dringend
Zugewiesen an:
Alexandre Ataides
Kategorie:
REST-API
Zielversion:
% erledigt:

0%

Geschätzter Aufwand:
Steps to reproduce:
Betroffene Versionen:
Unbestimmt
Release Notes Langtext:

Ein Problem wurde behoben, das dazu führte, dass mehrere Gastkunden mit der gleichen E-Mail erstellt wurden.


Beschreibung

creating a guest account via API V3 with pre-existing email (z.B: admin@example.org) should not be possible.

steps to reproduce:

Create a guest with the following json with the v3 api endpoint {{baseUrl}}/api.php/v3/customers/register [POST]

[
  {
    "customerGroup": 1,
    "isFavorite": true,
    "personalInformation": {
      "gender": "m",
      "firstName": "John",
      "lastName": "Doe",
      "dateOfBirth": "2022-01-30 08:30:00",
      "customerNumber": "12345-AB"
    },
    "contactInformation": {
      "email": "j.doe@mail.com",
      "phoneNumber": "+49 152 012345",
      "faxNumber": "+49 152 054321"
    },
    "businessInformation": {
      "companyName": "Gambio GmbH",
      "vatId": "DE 123456789",
      "isTradesperson": true,
      "isValidVatId": true
    },
    "locationInformation": {
      "streetName": "Parallelweg",
      "houseNumber": "30",
      "postcode": "28219",
      "city": "Bremen",
      "country": {
        "name": "Germany",
        "isoCode2": "DE"
      },
      "additionalInformation": "",
      "suburb": "Walle",
      "state": "Bremen"
    },
    "password": "12345",
    "credit": 999.99
  }
]

Expected:

Successful registration for the first time but an error with the message Email address \"j.doe@mail.com\" is already taken.

Actual:
Successful registration every time a pre-existing email is used.


Aktionen #1

Von Ahmed Hamouda vor mehr als 1 Jahr aktualisiert

  • Status wurde von Anerkannt zu In Bearbeitung geändert
  • Zugewiesen an wurde auf Ahmed Hamouda gesetzt
Aktionen #2

Von Ahmed Hamouda vor mehr als 1 Jahr aktualisiert

  • Status wurde von In Bearbeitung zu Testing geändert
  • Zugewiesen an wurde von Ahmed Hamouda zu Marvin Muxfeld geändert
  • Release Notes Langtext aktualisiert (Vergleich)
Aktionen #4

Von Marvin Muxfeld vor mehr als 1 Jahr aktualisiert

  • Zugewiesen an Marvin Muxfeld wurde gelöscht
Aktionen #5

Von Alexandre Ataides vor mehr als 1 Jahr aktualisiert

  • Zugewiesen an wurde auf Alexandre Ataides gesetzt
Aktionen #6

Von Alexandre Ataides vor mehr als 1 Jahr aktualisiert

  • Zielversion wurde auf 4.7.1.2 gesetzt
Aktionen #7

Von Alexandre Ataides vor mehr als 1 Jahr aktualisiert

  • Status wurde von Testing zu Erledigt geändert
Aktionen #8

Von Moritz Bunjes vor mehr als 1 Jahr aktualisiert

  • Tags 4.7.1.2 wurde gelöscht
Aktionen

Auch abrufbar als: Atom PDF