⚠️ This issue respects the following points: ⚠️
Bug description
Move/Copy hanging up the browser and fails at all, when moving/copying into a folder with large file count
Steps to reproduce
- Try to move couple of hundred files into a folder with some 30-40+ thousand files.
- Browser hangs for long.
- Even if unhang, copy/move will fail anyway.
Expected behavior
Shouldn't hang. Should copy or move.
Well, when selecting the destination, there is no point to list any files whatsoever. You just choosing a folder where to copy or move.
Now as of operation itself. I don't know what is it doing, but I suspect it tries to built up a file list in UI for each operation. If so there isn't need to do it as well. PHP has a function file_exists that is enough to check if something needs to be overridden.
Nextcloud Server version
34
Operating system
Debian/Ubuntu
PHP engine version
No response
Web server
No response
Database engine version
No response
Is this bug present after an update or on a fresh install?
No response
Are you using the Nextcloud Server Encryption module?
No response
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response
Bug description
Move/Copy hanging up the browser and fails at all, when moving/copying into a folder with large file count
Steps to reproduce
Expected behavior
Shouldn't hang. Should copy or move.
Well, when selecting the destination, there is no point to list any files whatsoever. You just choosing a folder where to copy or move.
Now as of operation itself. I don't know what is it doing, but I suspect it tries to built up a file list in UI for each operation. If so there isn't need to do it as well. PHP has a function file_exists that is enough to check if something needs to be overridden.
Nextcloud Server version
34
Operating system
Debian/Ubuntu
PHP engine version
No response
Web server
No response
Database engine version
No response
Is this bug present after an update or on a fresh install?
No response
Are you using the Nextcloud Server Encryption module?
No response
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response