PowerStore: E-postadressen som ändrats av en tom sträng med REST API bör misslyckas men returnerar slutförd.

Resumen: Försök att ändra e-postadressen i ett email_notify_destination objekt med en tom sträng med REST API bör misslyckas, men det returnerar slutförd.

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

Om du ändrar email_notify_destination till en tom sträng returneras resultatet. Användaren förutsätter att e-postadressen har tagits bort.

Exempel som visas nedan:
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
Här är "email_address" samma som före korrigeringsfilen:
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

PowerStore tillåter inte att användare ställer in en e-postadress på en sträng som är tio längder.

Resolución

Om du vill ta bort en e-postadress tar du bort objektet med åtgärden DELETE med 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.