Skip to content

[Fix-7773][Api] malform batchDeleteProcessInstanceByIds log output#7774

Merged
caishunfeng merged 5 commits intoapache:devfrom
SbloodyS:bug_7773
Jan 4, 2022
Merged

[Fix-7773][Api] malform batchDeleteProcessInstanceByIds log output#7774
caishunfeng merged 5 commits intoapache:devfrom
SbloodyS:bug_7773

Conversation

@SbloodyS
Copy link
Copy Markdown
Member

@SbloodyS SbloodyS commented Jan 3, 2022

Purpose of the pull request

This pr will close #7773

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jan 3, 2022

Codecov Report

❌ Patch coverage is 33.33333% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 40.85%. Comparing base (fa906e7) to head (ec66731).
⚠️ Report is 3237 commits behind head on dev.

Files with missing lines Patch % Lines
...r/api/service/impl/ProcessInstanceServiceImpl.java 0.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##                dev    #7774      +/-   ##
============================================
- Coverage     40.95%   40.85%   -0.11%     
+ Complexity     3671     3666       -5     
============================================
  Files           642      642              
  Lines         26707    26730      +23     
  Branches       2997     3004       +7     
============================================
- Hits          10939    10920      -19     
- Misses        14716    14761      +45     
+ Partials       1052     1049       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Jan 3, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

33.3% 33.3% Coverage
0.0% 0.0% Duplication

ProcessInstance processInstance = processService.findProcessInstanceDetailById(processInstanceId);
if (null == processInstance) {
putMsg(result, Status.PROCESS_INSTANCE_NOT_EXIST, processInstanceId);
putMsg(result, Status.PROCESS_INSTANCE_NOT_EXIST, String.valueOf(processInstanceId));
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the different of log?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

eg:
The input processInstanceId is 1234.

Before: 工 作 流 实 例 [1,234]不 存 在
After: 工 作 流 实 例 [1234]不 存 在

Status.PROCESS_INSTANCE_NOT_EXIST using {0} as parameter while input type in integer may cause this problem.

Copy link
Copy Markdown
Contributor

@caishunfeng caishunfeng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@caishunfeng caishunfeng merged commit e34a8bc into apache:dev Jan 4, 2022
@SbloodyS SbloodyS deleted the bug_7773 branch January 4, 2022 02:12
SbloodyS added a commit to SbloodyS/dolphinscheduler that referenced this pull request Jan 7, 2022
…pache#7774)

* bug_7773

* bug_7773

* bug_7773

* bug_7773

* bug_7773
caishunfeng pushed a commit that referenced this pull request Jan 9, 2022
* cherry-pick

* fix bug_7629 (#7630)

* fix bug_7564 (#7625)

* fix bug_7512 (#7716)

* [Fix-7459][Sqoop] running error in parallel (#7752)

* fix bug_7459

* fix bug_7459

* fix bug_7459

* fix bug_7459

* fix bug_7459

Co-authored-by: SbloodyS <sbloodys@qq.com>

* [Feature-7576][Master] Optimize complement task's date (#7585)

* feature_7576

* feature_7576

* feature 7576

* feature 7576

* [Fix-7767]Task instance is not deleted while deleting the process instance (#7768)

* fix bug_7767

* fix bug_7767

* fix bug_7767

* fix bug_7767

* fix bug_7767

* [Feature-5951][Improvement][UI] When creating an alarm instance, the alarm instance name input box prompts optimization (#7770)

* cherry-pick

* [Fix-7773][Api] malform batchDeleteProcessInstanceByIds log output (#7774)

* bug_7773

* bug_7773

* bug_7773

* bug_7773

* bug_7773

* [Feature-7777][UI] process definition page add create username (#7778)

* feature_7777

* fix bug_7499 (#7739)

Co-authored-by: SbloodyS <sbloodys@qq.com>

* fix conflict

* fix conflict

* fix mapState never used error

* fix bug_7789 (#7790)

Co-authored-by: SbloodyS <sbloodys@qq.com>

Co-authored-by: SbloodyS <sbloodys@qq.com>
Co-authored-by: wangyizhi <wangyizhi1_yewu@cmss.chinamobile.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] [Api] malform batchDeleteProcessInstanceByIds log output

3 participants