Azure / Azure/azure-libraries-for-java
VirtualMachineImages getImage with empty version generates ClassCastException
Abierto
Bug
Compute - Images
customer-reported
Mgmt
- Lenguaje dominante
- Java
- Estrellas
- 97
- Forks
- 102
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Whilst the method prevents passing in null values it allows empty String. If you do this it generates a ClassCastException way down in Jackson deserialization as it doesn't expect an ArrayNode to be provided. It would make sense to improve the validation of the input parameters.
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.