Azure / Azure/azure-libraries-for-java
update web app api get Error because tag messed up
- Lenguaje dominante
- Java
- Estrellas
- 97
- Forks
- 102
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
### SDK version
1.11.0
### OS
Windows 10
### Actual behavior
api usage code snippet:
```
update.withJavaVersion(mojo.getJavaVersion()).withWebContainer(mojo.getJavaWebContainer());
update.apply();
```
```withJaveVersion``` and ```withWebContainer``` use the same setting with by web app, then I get the error message;
[ERROR] Failed to execute goal com.microsoft.azure:azure-webapp-maven-plugin:1.3.0-SNAPSHOT:deploy (default-cli) on project windows-jar: The request content was invalid and could not be deserialized:** 'Unexpected character encountered while parsing value: {. Path 'tags['hidden-related:/subscriptions/2085065b-00f8-4cba-9675-ba15f4d4ab66/resourcegroups/qisun/providers/Microsoft']**', line 1, position 144.'. OnError while emitting onNext value: retrofit2.Response.class -> [Help 1]
>Note
There was issue reported and addressed before, tracked in this issue https://github.com/Azure/azure-sdk-for-java/issues/1755
Is there any tag issue related regression?
Guía de contribución
Línea de trabajo
Start by reproducing the Maven plugin deploy goal with the shown update.withJavaVersion and withWebContainer calls on SDK 1.11.0, then inspect the web app update path that emits tags. Compare the behavior with the earlier issue #1755; done means the two settings no longer create malformed tags and deployment succeeds.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- azure, java
- Área
- cloud, devops
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 25/100