PowerStore: REST API kullanılarak boş bir dizeyle değiştirilen e-posta adresi başarısız olur ancak başarılı olur.

Resumen: REST API kullanarak boş bir dizeye sahip bir email_notify_destination nesnesinde e-posta adresini değiştirme girişimi başarısız olur ancak başarılı olur.

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

Dizeyi boş email_notify_destination olarak değiştirmek başarıyla geri döner. Kullanıcı, e-posta adresinin başarıyla kaldırılmış olduğunu varsayacaktır.

Aşağıda gösterilen örnek:
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
Burada "email_address", YAMA'nın öncekiyle aynıdır:
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, kullanıcıların 0 uzunluktaki bir dizeye e-posta adresi ayarlamalarını sağlar.

Resolución

Bir e-posta adresini kaldırmak için PowerStore Manager'ı kullanarak DELETE eylemlerini kullanarak nesneyi silin.

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.