Skip to content

[Bug] [Sql Task Plugin] Json turn to List<LinkedhashMap> raise exception when send attachment #9749

@Wilson-BT

Description

@Wilson-BT

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

When we send mail with attachments and have a limit number which less then QUERY_LIMIT, resultJSONArray will add sql result limit log into itself, and it will cause the Exception when Json to List at ExcelUtils.genExcelFile.
image

What you expected to happen

i think we can just logger.info("") without adding into resultJSONArray.

How to reproduce

SqlTask: DML sql ,send mail group with attachments.

Anything else

No response

Version

2.0.5

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions