Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix ValidateLengthMaxLengthFailure error message#25699

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
MaryanneNjeri wants to merge2 commits intoPowerShell:master
base:master
Choose a base branch
Loading
fromMaryanneNjeri:maryanne/fix_error_message

Conversation

MaryanneNjeri
Copy link

PR Summary

Fix ValidateLengthMaxLengthFailure error message Related GitHub Issue ->#25566

PR Context

This PR fixes the error message for the ValidateLengthMaxLengthFailure error message.

Before fix :
Error message is: "The character length of the 5 argument is too long. Shorten the character length of the argument so it is fewer than or equal to "2" characters, and then try the command again."

After fix

Error message is: "The character length of the "bar" argument is too long. Shorten the character length of the argument so it is fewer than or equal to 2 characters, and then try the command again."

PR Checklist

@iSazonov
Copy link
Collaborator

Call site looks like:

if(len>MaxLength){thrownewValidationMetadataException("ValidateLengthMaxLengthFailure",null,Metadata.ValidateLengthMaxLengthFailure,MaxLength,len);}

So the PR doesn't fix the issue.

@microsoft-github-policy-servicemicrosoft-github-policy-servicebot added the Review - NeededThe PR is being reviewed labelJul 7, 2025
@microsoft-github-policy-serviceMicrosoft GitHub Policy Service
Copy link
Contributor

This pull request has been automatically marked as Review Needed because it has been there has not been any activity for7 days.
Maintainer, please provide feedback and/or mark it asWaiting on Author

@MaryanneNjeriMaryanneNjeri marked this pull request as draftJuly 9, 2025 17:47
@microsoft-github-policy-servicemicrosoft-github-policy-servicebot added the Waiting on AuthorThe PR was reviewed and requires changes or comments from the author before being accept labelJul 13, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
Review - NeededThe PR is being reviewedWaiting on AuthorThe PR was reviewed and requires changes or comments from the author before being accept
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@MaryanneNjeri@iSazonov

[8]ページ先頭

©2009-2025 Movatter.jp