`msstore submission get` outputs invalid JSON for non-Latin listings
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
Research direction
Start at the msstore submission get command and reproduce the issue with a listing containing Cyrillic characters such as sr-cyrl-rs. Verify that its output parses with PowerShell ConvertFrom-Json and can be piped into submission updateMetadata, including keywords and descriptions with backslashes and Unicode characters.
Written by the indexing model from the issue text.
Description
msstore submission get produces invalid JSON when the app has listings with Cyrillic characters (e.g. sr-cyrl-rs).
The output contains:
- Bare backslashes not followed by valid JSON escape characters (e.g. in
Keywords) - Invalid Unicode escape sequences such as
\u 04(space between\uand the hex digits)
This causes ConvertFrom-Json to fail with:
Bad JSON escape sequence: \. Path 'Listings.sr-cyrl-rs.BaseListing.Keywords[3]'
Invalid Unicode escape sequence: \u 04. Path 'Listings.sr-cyrl-rs.BaseListing.Description'
Making it impossible to pipe submission get into submission updateMetadata as documented.
- Dominant language
- C#
- Stars
- 163
- Forks
- 22
- Avg merge
- 6d 18h
- Merged PRs (30d)
- 6
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/msstore-cli
-
microsoft/msstore-cli#181 · 1 comment · 1 reaction · 2 assignees ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
microsoft/msstore-cli#179 ·
-
bug
microsoft/msstore-cli#176 · 1 reaction · 2 assignees ·
-
Delete app command Openinvalid
Difficulty 3/5 1-2 days Newbie friendliness 64/100
microsoft/msstore-cli#171 · 4 comments ·
-
Limit on 100 apps Open
Difficulty 3/5 1-2 days Newbie friendliness 55/100
microsoft/msstore-cli#170 ·
All issues in microsoft/msstore-cli
Similar issues
-
type/automation type/tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
t/bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
ci-failure-cause test-failure
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
area:auth FE mvp P3
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
klasolsson81/jobbliggaren#1788 ·