-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
当Api数据集中的Api地址中带参数时,如果不设置该参数的默认值,会报空指针异常,导致预览页面数据不显示 #922
Comments
收录 ws |
我试了1.4.4-beta和1.5.0-beta两个版本的jimuReport(复现条件都没变),都会报错,报错日志如下:
|
接口http://localhost:9000/data/api1?riqi=${riqi} 返回的数据格式如下:
|
我这边没有定义任何东西,完全是用的 https://github.com/jeecgboot/JimuReport/tree/master/jimureport-example 这个项目跑的。也没法打印上级的var17变量。 |
好的,收到。 |
已修复,待新版本发布 |
版本号:1.4.4-beta
问题描述:
对于数据报表的API数据集,当API地址中带参数时(如:
http://localhost:9000/data/api1?riqi=${riqi}
),如果不设置报表参数${riqi}的默认值,应用会报空指针异常,导致预览页面数据不显示错误日志&截图:
重现步骤:
1、编辑Api数据集,在Api地址中带上参数(如:
http://localhost:9000/data/api1?riqi=${riqi}
);2、点击“Api解析”;
3、“报表参数”中不设置该参数的默认值,点击“确定”保存;
4、点击“预览”;
5、跳转到预览页面,数据不展示;
友情提示(为了提高issue处理效率):
The text was updated successfully, but these errors were encountered: