[B012][Docs][PS] Unquoted numeric operation ID in the deployment-operation example loses its leading zero
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 初心者へのやさしさ
- 90/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- powershell
調査の方向性
src/PS/Resources/help/Get-AzResourceGroupDeploymentOperation.md を開き、53 行目付近の「Get specific operations by id」の例を読んでください。PowerShell が文字列としてバインドし、先頭のゼロが保持されるように、両方の -OperationIds の値を引用符で囲んでください。ドキュメントの例が、引用符で囲まれた期待どおりのコマンドと一致したら完了です。コードやテストは関係ありません。
索引モデルが issue の本文から書いたものです。
説明
Affected surface
Powershell
Describe the bug
The “Get specific operations by id” example passes operation IDs without quotes. Its second ID is entirely numeric and begins with 0.
PowerShell parses that argument as a number before binding it to the string[] parameter. Converting it back to a string removes the leading zero, so the command requests a different operation ID and returns HTTP 404.
Command:
Get-AzResourceGroupDeploymentOperation -ResourceGroupName myrg -DeploymentName scenario-deployment -OperationIds 38241FA9B6B8DAE1, 08584103205698517279
Steps to reproduce
No response
Errors & debug output
The conversion can be demonstrated locally:
[string]08584103205698517279
# 8584103205698517279
[string]'08584103205698517279'
# 08584103205698517279
The live unquoted lookup returns:
HTTP 404 Not Found
Error code: DeploymentNotFound
Deployment '<test-deployment>' operation
'<numeric-operation-id-with-leading-zero-removed>' could not be found.
Expected behavior
Quote the IDs in the documentation example:
Get-AzResourceGroupDeploymentOperation `
-ResourceGroupName myrg `
-DeploymentName scenario-deployment `
-OperationIds '38241FA9B6B8DAE1', '08584103205698517279'
Environment
Preview PowerShell rollup: Az 0.1.7
Preview Resources module: Az.Resources 0.1.5
Release: v0.1.7.20261104T200741Z
Shell: PowerShell 7.6.9 on Windows
OS: Microsoft Windows 10.0.26300
Additional context
No response
- 主要言語
- C#
- スター
- 18
- フォーク
- 10
- 平均マージ
- 1日 20時間
- マージ済み PR(30日)
- 157
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Azure/azclips のほかの issue
-
act-identity-squad bug
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
メンテナーはふだん 1 日以内に返信
-
act-identity-squad bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
act-identity-squad bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
act-identity-squad bug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
Azure/azclips#1512 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
act-experience-enablement-squad bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
Realm667/WolfenDoom#1758 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
-
AI documentation good first issue help wanted
難易度 1/5 1〜3時間 初心者へのやさしさ 84/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
akshit-bansal11/edgepad#106 ·
メンテナーはふだん 1 日以内に返信