When asset metadata is fetched from the cache the data key is overwritten with an empty collection in:
if ($this->meta) {
return array_merge($this->meta, ['data' => $this->data->all()]);
}
.. as $this->data isn't hydrated.
Statamic 3.0.26 Pro
Laravel 7.29.3
PHP 7.4.9
thanks, i just bumped into this
Just run into this as well. Worked fine on Statamic 3.0.25.
I can confirm this is a bug, likely related to the changes made in #2828.
Should be fixed in 3.0.27, let us know if you have any issues going forward!
Broken again in 3.0.46? :-/ @jesseleite
.meta/B0002040_2.jpg.yaml
data:
text: "Image description"
alt: "Alt text"
size: 15246105
```
**Antlers**
```html
{{ images }}
<img src="{{ url }}" alt="{{ alt }}" />
{{ /images }}
Output
```html

````
Broken again in 3.0.46? :-/ @jesseleite
.meta/B0002040_2.jpg.yaml
data: text: "Image description" alt: "Alt text" size: 15246105 ``` **Antlers** ```html {{ images }} <img src="{{ url }}" alt="{{ alt }}" /> {{ /images }}Output
```html
````
Hey! If it's broken again, would you mind opening a fresh issue. Thanks!