PowerStore: Email address modified by an empty string using REST API should fail but returns success.
Resumen: Attempting to modify the email address in an email_notify_destination object with an empty string using REST API should fail but returns success.
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
Modifying the email_notify_destination to an empty string returns success. User will assume the email address has been removed successfully.
Example shown below:
Example shown below:
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 Here "email_address" is the same as before PATCH:
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 does not allow users to set an email address to a 0-length string.
Resolución
In order to remove an email address, delete the object using the DELETE action using PowerStore Manager.
Productos afectados
PowerStorePropiedades 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.