statamic / cms

The core Laravel CMS Composer package
https://statamic.com
Other
4.06k stars 530 forks source link

Can't replace and update asset meta data #7754

Closed edalzell closed 10 months ago

edalzell commented 1 year ago

Bug description

Replacing the asset AND updating the meta data (in this case the alt text) before saving doesn't persist the new meta data.

How to reproduce

  1. replaced an asset (do NOT save)
  2. set the alt text
  3. save

It uploaded the new replaced asset without the saved info.

Logs

No response

Environment

Environment
Application Name: Statamic
Laravel Version: 9.52.4
PHP Version: 8.2.4
Composer Version: 2.5.4
Environment: local
Debug Mode: ENABLED
URL: zakat.test
Maintenance Mode: OFF

Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: NOT CACHED

Drivers
Broadcasting: log
Cache: statamic
Database: mysql
Logs: daily
Mail: smtp
Queue: sync
Session: file

Statamic
Addons: 12
Antlers: runtime
Stache Watcher: Disabled
Static Caching: Disabled
Version: 3.4.6 PRO

Statamic Addons
aryehraber/statamic-captcha: 1.9.1
aryehraber/statamic-impersonator: 2.4.1
doublethreedigital/runway: 4.2.2
edalzell/forma: 1.3.0
jonassiewertsen/statamic-livewire: 2.11.0
statamic/seo-pro: 4.0.1
transformstudios/events: 4.1.4
transformstudios/front: 1.11.0
transformstudios/github: dev-main
transformstudios/memorial: dev-fix/remove-texstyle
transformstudios/review: 3.8.1
transformstudios/simple: 3.3.1


### Installation

Fresh statamic/statamic site via CLI

### Antlers Parser

runtime (new)

### Additional details

_No response_
duncanmcclean commented 10 months ago

Hey 👋

I'm unable to reproduce this issue on the latest version of Statamic. As soon as I replace/reupload an asset, the asset editor closes so I don't the chance to add any alt text etc. See video:

CleanShot 2024-01-11 at 14 40 58

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!