PowerStore: E-mailová adresa upravená prázdným řetězcem pomocí rozhraní REST API by se měla nezdařit, ale měla by se vrátit k úspěchu.

Resumen: Pokus o úpravu e-mailové adresy v objektu email_notify_destination s prázdným řetězcem pomocí rozhraní REST API by měl selhat, ale vrátit úspěch.

Este artículo se aplica a Este artículo no se aplica a Este artículo no está vinculado a ningún producto específico. No se identifican todas las versiones del producto en este artículo.

Síntomas

Změna email_notify_destination na prázdný řetězec vrátí úspěch. Uživatel bude předpokládat, že e-mailová adresa byla úspěšně odebrána.

Níže uvedený příklad:
POST https://10.229.xx.xx:443/api/rest/email_notify_destination
{
  "email_address": "example@emc.com",
  "notify_critical": true,
  "notify_major": false,
  "notify_minor": true,
  "notify_info": true
}

GET https://10.229.xx.xx:443/api/rest/email_notify_destination/eb028fe4-6c75-42e2-9aff-3d65d8dfbb25?select=*
200
{
  "id": "eb028fe4-6c75-42e2-9aff-3d65d8dfbb25",
  "email_address": "example@emc.com",
  "notify_critical": true,
  "notify_major": false,
  "notify_minor": true,
  "notify_info": true
}

PATCH https://10.229.xx.xx:443/api/rest/email_notify_destination/eb028fe4-6c75-42e2-9aff-3d65d8dfbb25
{"email_address": ""}
==>
204
Zde je "email_address" stejná jako před opravou:
GET https://10.229.xx.xx:443/api/rest/email_notify_destination/eb028fe4-6c75-42e2-9aff-3d65d8dfbb25?select=*
200
{
  "id": "204b3978-0b3a-4c6e-a2bf-4b716502dd71",
  "email_address": "example@emc.com",
  "notify_critical": true,
  "notify_major": false,
  "notify_minor": true,
  "notify_info": true
}

Causa

Zařízení PowerStore neumožňuje uživatelům nastavit e-mailovou adresu na řetězec o délce 0 délky.

Resolución

Chcete-li odstranit e-mailovou adresu, odstraňte objekt pomocí akce DELETE pomocí nástroje PowerStore Manager.

Productos afectados

PowerStore
Propiedades del artículo
Número del artículo: 000198831
Tipo de artículo: Solution
Última modificación: 30 may 2022
Versión:  1
Encuentre respuestas a sus preguntas de otros usuarios de Dell
Servicios de soporte
Compruebe si el dispositivo está cubierto por los servicios de soporte.