Skip to content
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

Kdesktop 1275 sync on fat system are broken #338

Open
wants to merge 18 commits into
base: develop
Choose a base branch
from

Conversation

herve-er
Copy link
Contributor

@herve-er herve-er commented Oct 7, 2024

The checkIfPathExist function has been optimized for better performance. However, there is a known issue when calling this function with a path on a FAT32 disk in Visual Studio versions before 17.3 Preview 2. In such cases, the function returns invalid arguments due to a bug in Visual Studio (msvc). More details about this bug can be found in the following link: std::filesystem::is_symlink is broken on FAT.

This issue has a high impact as all sync operations on FAT32 disks are currently not working.

  • Manually run & check results of IoHelper tests on a FAT32/exFAT disk
  • Fix CheckIfPathExists on FAT32 Disk

@herve-er herve-er requested a review from a team as a code owner October 7, 2024 12:11
@herve-er herve-er marked this pull request as draft October 7, 2024 13:19
…rguments to determine fsSupportsSymlinks on Windows, as this behavior is not consistent between Visual Studio 2019 and Visual Studio 2022
@herve-er herve-er marked this pull request as ready for review October 7, 2024 14:49
src/libcommonserver/io/iohelper.cpp Outdated Show resolved Hide resolved
src/libcommonserver/io/iohelper.cpp Outdated Show resolved Hide resolved
src/libcommonserver/io/iohelper.cpp Outdated Show resolved Hide resolved
src/libcommonserver/io/iohelper.cpp Outdated Show resolved Hide resolved
@herve-er herve-er marked this pull request as draft October 8, 2024 07:38
@herve-er herve-er marked this pull request as ready for review October 8, 2024 07:51
src/libcommonserver/io/iohelper.cpp Outdated Show resolved Hide resolved
ClementKunz and others added 2 commits October 9, 2024 10:40
Co-authored-by: Luc Guyot <162997198+luc-guyot-infomaniak@users.noreply.github.com>
Copy link

sonarcloud bot commented Oct 9, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
2 Security Hotspots
0.0% Coverage on New Code (required ≥ 80%)
C Maintainability Rating on New Code (required ≥ A)
E Reliability Rating on New Code (required ≥ A)

See analysis details on SonarCloud

Catch issues before they fail your Quality Gate with our IDE extension SonarLint

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.

4 participants