Uploaded image for project: 'Apache InLong'
  1. Apache InLong
  2. INLONG-518

HTTP interface parameter passing error

    XMLWordPrintableJSON

Details

    Description

      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);

      Attachments

        Activity

          People

            leno xianle cao
            leno xianle cao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1.5h
                1.5h