[Question] If new versionset is being added, I notice the first deployment fails. The second one normally succeeds.
还没有人认领这个 Issue。
评估
调研方向
首先,在创建新的 API 版本集后复现部署,并以报告的 Azure API Management 验证错误作为参考。在仓库中跟踪部署和版本集的处理,以确定为什么第一次迭代会使用冲突的路径。完成的标准是:新创建的版本集能够在第一次尝试时成功部署,并且现有复现由适当的测试覆盖(如果有可用的测试)。
由索引模型根据 Issue 内容生成。
描述
Release version
5.1.4
Question Details
Throws this error: failed with status code 400. Content is '{"error":{"code":"ValidationError","message":"One or more fields contain incorrect values:","details":[{"code":"ValidationError","target":"path","message":"Cannot create API '-v2' with the same Path '/api' as API '***' unless it's a part of the same version set"}]}}'.
Expected behavior
For the deploy to succeed on the first iteration.
Actual behavior
Fails for the first deploy. Succeeds on the second.
Reproduction Steps
Create a new version set for an api.
- 主要语言
- C#
- 星标
- 449
- 派生
- 248
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Azure/apiops 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 4/5 3-5 天 新手友好度 45/100
-
[BUG] Publisher misses logger dependency in policy XML可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 3/5 1-2 天 新手友好度 70/100
-
难度 4/5 3-5 天 新手友好度 55/100
-
难度 3/5 1-2 天 新手友好度 45/100
相似的 Issue
-
area:frontend bug FE P3
难度 2/5 1-3 小时 新手友好度 68/100
klasolsson81/jobbliggaren#2010 ·
维护者通常 1 天内回复
-
agentic-workflows untriaged
难度 1/5 1 小时以内 新手友好度 65/100
维护者通常 1 天内回复
-
area: homeblaze type: bug
难度 2/5 1-3 小时 新手友好度 74/100
RicoSuter/Namotion.Interceptor#630 ·
维护者通常 1 天内回复
-
Akka.Hosting enhancement
难度 2/5 1-3 小时 新手友好度 65/100
-
bug needs-triage
难度 2/5 1-3 小时 新手友好度 70/100
microsoft/microsoft-ui-xaml#12158 ·
维护者通常 1 天内回复