PowerStore: REST API를 사용하여 빈 문자열에 의해 수정된 이메일 주소는 실패하지만 성공을 반환합니다.

Resumen: REST API를 사용하여 빈 문자열이 있는 email_notify_destination 오브젝트에서 이메일 주소를 수정하려고 하면 실패하지만 성공이 반환됩니다.

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

email_notify_destination 빈 문자열로 수정하면 성공이 반환됩니다. 사용자는 이메일 주소가 성공적으로 제거되었다고 가정합니다.

아래에 나와 있는 예:
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
여기서 "email_address"는 패치 이전과 동일합니다.
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에서는 사용자가 이메일 주소를 0 길이 문자열로 설정할 수 없습니다.

Resolución

이메일 주소를 제거하려면 PowerStore Manager를 사용하여 DELETE 작업을 사용하여 오브젝트를 삭제합니다.

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.