We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
SQLe Version main
Describe the bug audit mybatis xml panic when xml file content no contained "otherwise" label in "choose" lable. 审核mybatis xml 文件程序panic。
<mapper namespace="Test"> <select id="testChoose"> SELECT name, category, price FROM fruits <where> <choose> <when test="name != null"> AND name = #{name} </when> <when test="category == 'banana'"> AND category = #{category} <if test="price != null and price !=''"> AND price = ${price} </if> </when> </choose> </where> </select> </mapper>
To Reproduce
Expected behavior 能正常审核
The text was updated successfully, but these errors were encountered:
mybatis 解析库在处理choose标签内无otherwise 时未作判空处理,导致空指针
Sorry, something went wrong.
104f975
Merge pull request #640 from actiontech/fix_issue_639
29089e5
update vendor for fix #639
UI Version: release-1.2205.x b4c6fc1 Server Version: release-1.2205.x-ee ac7e75f 复现步骤: 1.使用上述的内容创建一个xml文件 2.创建一个工单,然后上传文件,点击审核,出现请求错误信息 3.创建审核任务,配置gitlab+jenkins流水线,触发变更也可以看到jenkins控制台输出了panic信息
UI Version: main 614a04c Server Version: main-ee 26c6848faa 验证步骤 1.1.使用上面的内容创建一个xml文件 2.创建一个工单,然后上传文件,点击审核,未出现报错 3.配置 gitlab+jeins 流水线,配置 gitlab+jeins 流水线,也可以查看 jenkins 的控制台输出,未发现panic信息
建议mybatis-mapper-2-sql打个新tag吧,默认引入的tag是v0.1.0。刚刚准备提merge request,发现已经修复这个Bug了…
@JianleiZhang good idea
Merge pull request #639 from actiontech/issue-1310
145e090
skip license check when logout
sjjian
No branches or pull requests
SQLe Version
main
Describe the bug
audit mybatis xml panic when xml file content no contained "otherwise" label in "choose" lable. 审核mybatis xml 文件程序panic。
To Reproduce
Expected behavior
能正常审核
The text was updated successfully, but these errors were encountered: