magento / magento2

Prior to making any Submission(s), you must sign an Adobe Contributor License Agreement, available here at: https://opensource.adobe.com/cla.html. All Submissions you make to Adobe Inc. and its affiliates, assigns and subsidiaries (collectively “Adobe”) are subject to the terms of the Adobe Contributor License Agreement.
http://www.magento.com
Open Software License 3.0
11.56k stars 9.32k forks source link

Twice url in sitemap image path #20289

Closed key-dev closed 5 years ago

key-dev commented 5 years ago

Preconditions (*)

Magento 2.2.2 Apache 2.4 document root public_html

Steps to reproduce (*)

Add a sitemap with a path of /sitemaps/ Allow cron to generate the sitemap

Expected result (*)

https://www.site.com/pub/media/catalog/product/cache/c9e0b0ef589f3508e5ba515cde53c5ff/c/m/cm265c.jpg ### Actual result (*) https://www.site.com/pub/media/https://www.site.com/pub/media/catalog/product/cache/c9e0b0ef589f3508e5ba515cde53c5ff/c/m/cm265c.jpg Please help
magento-engcom-team commented 5 years ago

Hi @key-dev. Thank you for your report. To help us process this issue please make sure that you provided the following information:

Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:

@magento-engcom-team give me $VERSION instance

where $VERSION is version tags (starting from 2.2.0+) or develop branches (for example: 2.3-develop). For more details, please, review the Magento Contributor Assistant documentation.

@key-dev do you confirm that you was able to reproduce the issue on vanilla Magento instance following steps to reproduce?

irajneeshgupta commented 5 years ago

@magento-engcom-team give me 2.2-develop instance

magento-engcom-team commented 5 years ago

Hi @irajneeshgupta. Thank you for your request. I'm working on Magento 2.2-develop instance for you

magento-engcom-team commented 5 years ago

Hi @irajneeshgupta, here is your Magento instance. Admin access: https://i-20289-2-2-develop.instances.magento-community.engineering/admin Login: admin Password: 123123q Instance will be terminated in up to 3 hours.

magento-engcom-team commented 5 years ago

Hi @engcom-backlog-nazar. 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: :point_down:

ghost commented 5 years ago

Hi @key-dev thank you for you report, this issue has already fixed in 2.2-develop and 2.3-develop branch. and available on 2.3.0 release

key-dev commented 5 years ago

Hello @engcom-backlog-nazar Can you give me the reference of this fix so i can update my code? I am actually using Magento ver 2.2.2 and i don't want to upgrade it because of some custom APIs and things. Thank you

zapateroremendon commented 5 years ago

Hi, Same issue with magento 2.2.7, centos 7, nginx, varnish and php-fpm71. anybody have resolved?

omair-rltsquare commented 5 years ago

In my case, It was due to the 3rd party SEO extension which was using a deprecated method: \Magento\Sitemap\Model\Sitemap::_getMediaUrl

Removing the usage of this method from code fixed the issue, as url was already provided.