-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Labels
0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmapbugfeature: external storageneeds info
Description
Steps
- Setup SMB external storage
- Put a file called "bête.txt" (make sure to copy-paste this exact string as it contains an NFD encoded accented character)
- Run
occ files:scan --all - Enable NFD encoding compatibility for the external storage
- Run
occ files:scan --all
Expected result
At step 3 a warning appears that the file might not be accessible.
No warning at step 5.
File is accessible in the web UI after enabling compatibility mode.
Actual result
Warning appears at both step 3 and 5.
File is accessible in the web UI after enabling compatibility mode.
Versions
Tested with v21.0.4
Analysis
It seems that the scanner is not checking if the compatibility wrapper was enabled on the current storage so it always compares the file names to show the warning.
https://github.com/nextcloud/server/blob/v21.0.4/apps/files/lib/Command/Scan.php#L111
ynott and devi69
Metadata
Metadata
Assignees
Labels
0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmapbugfeature: external storageneeds info