craftcms / cms

Build bespoke content experiences with Craft.
https://craftcms.com
Other
3.28k stars 635 forks source link

[4.4.5]: UX: Renaming of an asset within a subfolder moves the file to root #12995

Closed mfell closed 1 year ago

mfell commented 1 year ago

What happened?

Description

Renaming of an asset within an subfolder moves the file reference to the root (home).

Steps to reproduce

  1. create an asset in a subfolder
  2. rename it

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

    "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"
i-just commented 1 year ago

Hi, thanks for reporting. I submitted a PR to address this.

brandonkelly commented 1 year ago

12999 has been merged for the next Craft 3 and 4 releases. Thanks again for reporting!

brandonkelly commented 1 year ago

Craft 3.8.6 and 4.4.6 are out with that fix 🎉