-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Sitemap Generation - Product URL check null fix #21749
Sitemap Generation - Product URL check null fix #21749
Conversation
Hi @asim-vax. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
Hi @aleron75, thank you for the review. |
Hello @asim-vax, |
Hi @asim-vax I cannot reproduce issue on 2.3-develop branch. |
@VasylShvorak having looked at a blank 2.3 installation the metadata for a product is indeed null, however - we came from an m1 installation, converted to m2 |
✔️ QA passed |
Hi @asim-vax, thank you for your contribution! |
Description (*)
Using category URL in products for sitemap - checks if metadata is null or not, when data is either blank/empty or has contents. The null check never passes.
This fix sets empty field to null, so IS NULL check passes.
Manual testing scenarios (*)
Contribution checklist (*)