WeBankFinTech/Exchangis

[Bug] [Exchanges1.1.1] Project management, enter "_", Press Enter to search, and the result returns an error

FinalTarget opened this issue · 0 comments

Search before asking

  • I searched the issues and found no similar issues.

Exchangis Component

exchangis-job-server, exchangis-project

What happened + What you expected to happen

Project management, enter "_", Press Enter to search, and the result returns an error
image

Relevent platform

Red Hat 4.8.5-39

Reproduction script

@RequestMapping(value = "", method = RequestMethod.GET)
public Message getJobList(@RequestParam(value = "projectId") Long projectId,
@RequestParam(value = "jobType", required = false) String jobType,
@RequestParam(value = "name", required = false) String name,
@RequestParam(value = "current", required = false) int current,
@RequestParam(value = "size", required = false) int size,
HttpServletRequest request) {
String newName = name.replaceAll("", "/");
ExchangisJobQueryVo queryVo = new ExchangisJobQueryVo(
projectId, jobType, newName, current, size
);
String loginUser = UserUtils.getLoginUser(request);

Anything else

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!