Skip to content

Conversation

@duncanmcclean
Copy link
Member

@duncanmcclean duncanmcclean commented Apr 15, 2025

This pull request ensures that references to assets in content are updated correctly, fixing an issue where only the first instance of an asset was being updated.

This was caused by the introduction of returning LazyCollections from ->getItemsContainingData() in #11442. It seems like ->map() wasn't getting further than the first instance, whereas ->each() works as expected.

Fixes #11662
Fixes #11690

Copy link
Contributor

@edalzell edalzell left a comment

Choose a reason for hiding this comment

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

nm me

@jasonvarga jasonvarga merged commit b6d658d into 5.x Apr 15, 2025
28 checks passed
@jasonvarga jasonvarga deleted the fix/asset-reference-updater branch April 15, 2025 18:08
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.

Moving assets breaks references Replacing an asset is only executed for the first occurrence

4 participants