Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

fix(ImageBlock): change image resolution to use filename instead of guid #240

Merged
merged 4 commits into from
Jun 24, 2020

Conversation

cajames
Copy link
Contributor

@cajames cajames commented Jun 10, 2020

Describe the PR

Changes the ImageBlock to use the filename for image resolution, instead of guid. This fixes the current issue that if the page URL changes, the image blocks breaks.

Related issues

Ready?

  • Added unit tests for fixed bug/feature
  • Passing all unit tests
  • Fixed code style issues with CS fixer and composer fix
  • Added in-code documentation (if needed)

@cajames cajames marked this pull request as draft June 10, 2020 16:36
@cajames cajames marked this pull request as ready for review June 11, 2020 10:29
@bastianallgeier bastianallgeier changed the base branch from master to develop June 24, 2020 15:56
@bastianallgeier
Copy link
Member

Thanks for the PR!! <3

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Image Block (<figure>-Tag) references old Image-URL after URL/SLUG change of Page
3 participants