cms icon indicating copy to clipboard operation
cms copied to clipboard

Renamed asset is not available until page refresh

Open adevade opened this issue 2 years ago • 2 comments

Bug description

When renaming an asset on an entry, you can't open the asset again until you reload the page.

Screenshot from 2022-04-28 20-14-35

Screenshot from 2022-04-28 20-15-01

How to reproduce

Repo: adevade/statamic-rename-asset-bug

  • Open an entry (ex. Page) with an asset field type
  • Click on the filename to open inspector
  • Rename file
  • Change is not reflected in UI, and clicking on the filename again opens forever loading inspector without content.

Screenshot from 2022-04-28 20-15-21

Logs

No response

Versions

Statamic 3.3.9 Solo Laravel 9.10.1 PHP 8.1.4 No addons installed

Tested on:

  • Chromium on Manjaro Linux
  • Edge on Windows 11

Installation

Fresh statamic/statamic site via CLI

Antlers Parser

No response

Additional details

No response


EDIT: Rename reproduction repo.

adevade avatar Apr 28 '22 18:04 adevade

Same for me: Statamic 3.3.15 PHP 8.1.4

Also user can not Save & Publish after rename. Refreshing of Entry page helps.

OleksiiBrylin avatar Jun 13 '22 13:06 OleksiiBrylin

Hello,

same here. Any fix possible? Thanks

axeloz avatar Jun 23 '22 13:06 axeloz

Hey 👋

I'm unable to reproduce this issue on the latest version of Statamic. When I rename an asset, the modal closes and I can click back into the asset without any issues:

CleanShot 2023-11-20 at 21 05 02

I'm going to close this issue now. If you're still experiencing this issue, please leave a comment and we can re-open the issue. Thanks!

duncanmcclean avatar Nov 20 '23 21:11 duncanmcclean