Skip to content

Conversation

@duncanmcclean
Copy link
Member

@duncanmcclean duncanmcclean commented Nov 11, 2025

This pull request ensures that Set Preview Images on Bard & Replicator fields are updated when assets are renamed/replaced/deleted, like we do with content.

I've also added Blueprint::all() which returns blueprints from all collections, taxonomies, etc.

Closes #12680

@duncanmcclean duncanmcclean marked this pull request as ready for review November 12, 2025 11:57
Copy link
Member

@jasonvarga jasonvarga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unless I've done something silly, this doesn't seem to work at all. I can't get it to rename anything.

Plus, I think it might not work on a second level if you've defined statamic.assets.set_preview_images.folder as the path won't get saved in the blueprint - just the filename. We might need to change that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[6.x] Renaming an asset doesn't update the image value for replicators and bards.

3 participants