Closed
Description
This issue is automatically created based on existing pull request: #37462: Sitemap fix error in case of image with null Title or Caption
Description (*)
This patch fixes Patch to fix Argument 1 passed to Magento\Sitemap\Model\Sitemap::escapeXmlText() must be of the type string, null given
when the given title or caption are null
.
Manual testing scenarios (*)
- Add a sitemap image with a title or caption with the value
null
. - The Sitemap model should no longer return an error.
Contribution checklist (*)
- Pull request has a meaningful description of its purposeAll commits are accompanied by meaningful commit messagesAll new or changed code is covered with unit/integration tests (if applicable)README.md files for modified modules are updated and included in the pull request if any README.md predefined sections require an updateAll automated tests passed successfully (all builds are green)
Activity
engcom-Bravo commentedon Dec 6, 2024
Hi @RPrudon,
Thanks for your reporting and collaboration.
Please refer this comment #37462 (comment) and provide more information to reproduce the issue.
Thanks.
m2-assistant commentedon Dec 6, 2024
Hi @engcom-Bravo. Thank you for working on this issue.
In order to make sure that issue has enough information and ready for development, please read and check the following instruction: 👇
Area: XXXXX
label to the ticket, indicating the functional areas it may be related to.2.4-develop
branchDetails
- If the issue is reproducible on2.4-develop
branch, please, add the labelReproduced on 2.4.x
.- If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!
Issue: Confirmed
once verification is complete.engcom-Bravo commentedon Dec 26, 2024
Hi @RPrudon,
This issue is being closed since it has not been updated in a long time.Please feel free to reopen or raise a new ticket if the issue still exists.
Thanks.