Azure / Azure/azure-libraries-for-java

update web app api get Error because tag messed up

Open
#508 0 comments 0 reactions 0 assignees View on GitHub
App Services Mgmt
Dominant language
Java
Stars
97
Forks
102
PR merge metrics
No merged PRs in 30d

Description

### 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?

Contributor guide

Open the contributing guide

Research direction

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.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, java
Domain
cloud, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.