Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[INLONG-518] HTTP interface parameter passing error #1107

Closed
dockerzhang opened this issue Jul 28, 2021 · 0 comments
Closed

[INLONG-518] HTTP interface parameter passing error #1107

dockerzhang opened this issue Jul 28, 2021 · 0 comments

Comments

@dockerzhang
Copy link
Contributor

appearance:

request url: 

http://brokerIp:brokerWebPort/broker.htm?method=admin_query_group_offset&topicName=xxx&groupName=xxx&partitionId=0&requireRealOffset=true

response json: 

{"result":false,"errCode":400,"errMsg":"Parameter partitionId value must <= -2"}

the reason for the error:

parameter passing error

solution:

On line 392 of the WebParameterUtils.java file,modify it to

checkIntValueNorms(fieldDef, paramValue, hasMinVal, minValue, hasMaxVal, maxValue, result);

JIRA link - [INLONG-518] created by leno
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant