apache / dubbo-admin

The ops and reference implementation for Apache Dubbo
https://dubbo.apache.org
Apache License 2.0
3.99k stars 2.17k forks source link

[BUG] Page string types are coerced to be treated as numbers 测试页面字符串类型被强制按照数字处理 #1054

Open wanghuzhou opened 1 year ago

wanghuzhou commented 1 year ago

Environment

Steps to reproduce this issue

page bug 页面bug

  1. The second parameter of the method is of String type. Input a pure numeric string and automatically discard the 0 in front of me. 方法的第二个参数是String类型,输入纯数字字符串,自动把我前面的0给丢弃了
  2. 类似的bug还有把我long类型数字(已经是字符串接收了)精度丢失了 image image

Pls. provide [GitHub address] to reproduce this issue.

Expected Result

What do you expected from the above steps?

Actual Result

What actually happens?

If there is an exception, please attach the exception trace:

Just put your stack trace here!
wanghuzhou commented 1 year ago

328

发现这是2019年就有的bug