Skip to content

once we call done on a sync file item, return is needed - #6053

Merged
mgallien merged 1 commit into
masterfrom
bugfix/avoidEnforceFileItemStatusCrash
Sep 14, 2023
Merged

mgallien merged 1 commit into
masterfrom
bugfix/avoidEnforceFileItemStatusCrash

Conversation

@mgallien

Copy link
Copy Markdown
Contributor

will avoid calling done method multiple times on a signle file item causing a crash via ENFORCE function

Close #5473

will avoid calling done method multiple times on a signle file item
causing a crash via ENFORCE function

Signed-off-by: Matthieu Gallien <[email protected]>
@mgallien
mgallien enabled auto-merge September 14, 2023 10:09
@codecov

codecov Bot commented Sep 14, 2023

Copy link
Copy Markdown

Codecov Report

Merging #6053 (a3303bc) into master (ac7d379) will increase coverage by 0.18%.
The diff coverage is 0.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6053      +/-   ##
==========================================
+ Coverage   60.14%   60.32%   +0.18%     
==========================================
  Files         145      145              
  Lines       18873    18873              
==========================================
+ Hits        11351    11385      +34     
+ Misses       7522     7488      -34     
Files Changed Coverage Δ
src/libsync/propagatedownload.cpp 66.99% <0.00%> (+0.13%) ⬆️

... and 7 files with indirect coverage changes

@sonarqubecloud

Copy link
Copy Markdown

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

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@mgallien

Copy link
Copy Markdown
Contributor Author

/backport to stable-3.10

@mgallien

Copy link
Copy Markdown
Contributor Author

/backport to stable-3.9

@nextcloud-desktop-bot

Copy link
Copy Markdown

AppImage file: nextcloud-PR-6053-a3303bc70b4bcea32adb7f331d8b35b90a6d8f01-x86_64.AppImage

To test this change/fix you can simply download above AppImage file and test it.

Please make sure to quit your existing Nextcloud app and backup your data.

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.

Client Crash [ fatal default .\src\libsync\owncloudpropagator.cpp:226 ]: ENFORCE: "_state != Finished" in file [Bug]:

3 participants