What happened?
Description
Renaming a folder in the control panel page changes the physical location of the renamed folder from its defined filesystem to the @webroot of the app.
This creates issues when re-indexing assets from the assets index control panel because the re-indexing cannot find the physical renamed folder.
Steps to reproduce
- create local filesystem named "Test" and set base path to "@webroot/test"
- create volume named "Test" and attach it to the "Test" filesytem
- go to Assets > Test
- create folder named "test-01"
- check its physical location, it will be in @webroot/test/test-01
- rename the folder "test-01" to "test-02"
- check its physical location, it will be @webroot/test-02 instead of @webroot/test/test-02
Expected behavior
The renamed folder should stay in its original parent path
Actual behavior
The renamed folder gets moved to the @webroot of the app
Craft CMS version
5.5.3
PHP version
8.2.26
Operating system and version
WINNT 10.0
Database type and version
MariaDB 10.6.17
Image driver and version
GD 8.2.26
Installed plugins and versions
What happened?
Description
Renaming a folder in the control panel page changes the physical location of the renamed folder from its defined filesystem to the @webroot of the app.
This creates issues when re-indexing assets from the assets index control panel because the re-indexing cannot find the physical renamed folder.
Steps to reproduce
Expected behavior
The renamed folder should stay in its original parent path
Actual behavior
The renamed folder gets moved to the @webroot of the app
Craft CMS version
5.5.3
PHP version
8.2.26
Operating system and version
WINNT 10.0
Database type and version
MariaDB 10.6.17
Image driver and version
GD 8.2.26
Installed plugins and versions