eloquent-driver
eloquent-driver copied to clipboard
Asset meta data will not be updated when file is moved
Issue
Moving an asset into different folder results in a duplicate entry + missing the meta data.
We probably need to bring some of this method over to the Eloquent Asset class: https://github.com/statamic/cms/blob/c09bbd0f5eb5eec3615e81532da0e08b8aea0e9b/src/Assets/Asset.php#L655-L680
Or at least cache the old metaPath, call the parent method, then update the meta value based on the old one (and remove it).
Is this something you would be prepared to work on?
The same issue also seems to occur for renaming btw