Closed mfell closed 1 year ago
Renaming of an asset within an subfolder moves the file reference to the root (home).
Stay in subfolder.
Moves into root
https://user-images.githubusercontent.com/6691773/228196527-f6915600-74cf-43c6-9c3a-0da67e65d688.mov
Craft Pro 4.4.5
8.1.13
Linux 5.15.49-linuxkit
MySQL 5.7.38
magick 3.7.0 (ImageMagick 6.9.11-60)
"carlcs/craft-redactorcustomstyles": "4.0.3", "craftcms/cms": "4.4.5", "craftcms/redactor": "3.0.4", "doublesecretagency/craft-cpcss": "2.6.0", "nystudio107/craft-seomatic": "4.0.23", "nystudio107/craft-templatecomments": "^4.0", "nystudio107/craft-vite": "4.0.5", "sebastianlenz/linkfield": "2.1.5", "spicyweb/craft-embedded-assets": "3.1.3", "spicyweb/craft-neo": "3.6.4", "verbb/user-group-field": "3.0.1", "vlucas/phpdotenv": "^5.4.0", "xpertbot/craft-wheelform": "3.1.5"
Hi, thanks for reporting. I submitted a PR to address this.
Craft 3.8.6 and 4.4.6 are out with that fix 🎉
What happened?
Description
Renaming of an asset within an subfolder moves the file reference to the root (home).
Steps to reproduce
Expected behavior
Stay in subfolder.
Actual behavior
Moves into root
Video
https://user-images.githubusercontent.com/6691773/228196527-f6915600-74cf-43c6-9c3a-0da67e65d688.mov
Tested under
Craft CMS version
Craft Pro 4.4.5
PHP version
8.1.13
Operating system and version
Linux 5.15.49-linuxkit
Database type and version
MySQL 5.7.38
Image driver and version
magick 3.7.0 (ImageMagick 6.9.11-60)
Installed plugins and versions