-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
[Fix-8544][API] The folder's size can't be updated when creating, updating or deleting a resource file int the folder. #9107
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #9107 +/- ##
============================================
- Coverage 40.28% 40.27% -0.02%
+ Complexity 4366 4365 -1
============================================
Files 808 808
Lines 32547 32569 +22
Branches 3646 3650 +4
============================================
+ Hits 13113 13117 +4
- Misses 18208 18223 +15
- Partials 1226 1229 +3
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
SonarCloud Quality Gate failed. |
Purpose of the pull request
This PR will close #8544 .
Brief change log
When creating, updating or deleting a resource file in a folder, the folder's size wouldn't be updated. Because the back-end service didn't handle that.
First of all I add the function to update the folder's size when creating, updating or deleting a resource file in a folder.
Second I add the repairing mechanisms to repair that issue of the previous version when users choose to upgrade the system from the version below '2.0.6'.
Verify this pull request
This change added tests and can be verified as follows:
The test results are as follows: