Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check first if metatitle is not null before setting it SEO TitleExtractor #2242

Merged
merged 1 commit into from
Apr 9, 2023

Conversation

pascalheidmann
Copy link
Contributor

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets

MetaTitle can be null according to interface CoreShop\Component\SEO\Model\SEOAwareInterface::getMetaTitle() but CoreShop\Component\SEO\Model\SEOMetadataInterface::setTitle() always requires a string. This PR therefore adds a simple guard

@pascalheidmann pascalheidmann changed the title Check first if metatitle is not null before setting it Check first if metatitle is not null before setting it SEO TitleExtractor Mar 27, 2023
dpfaffenbauer
dpfaffenbauer previously approved these changes Mar 28, 2023
@dpfaffenbauer
Copy link
Member

@pascalheidmann please rebase to 3.0

@dpfaffenbauer
Copy link
Member

ping @pascalheidmann

@pascalheidmann pascalheidmann changed the base branch from master to 3.0 April 7, 2023 21:49
@pascalheidmann
Copy link
Contributor Author

@dpfaffenbauer hope correct originn & target branches now

@dpfaffenbauer dpfaffenbauer merged commit 750f2ad into coreshop:3.0 Apr 9, 2023
@dpfaffenbauer
Copy link
Member

thanks a lot @pascalheidmann

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug wrong-branch needs rebasing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants