Azure / Azure/azure-libraries-for-java

update web app api get Error because tag messed up

未关闭
#508 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
App Services Mgmt
主要语言
Java
星标
97
派生
102
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

打开贡献指南

调研方向

首先,在 SDK 1.11.0 上使用所示的 update.withJavaVersion 和 withWebContainer 调用重现 Maven plugin 的 deploy goal,然后检查会发出 tags 的 web app 更新路径。将其行为与之前的 issue #1755 进行比较;当这两个设置不再创建格式错误的 tags 且 deployment 成功时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
azure, java
领域
cloud, devops
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。