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.52k stars 9.31k forks source link

sample data installing wrong path /var/www/magento2/pub/media/downloadable/files/links/l/u/ #37365

Open skygunner opened 1 year ago

skygunner commented 1 year ago

Preconditions and environment

Steps to reproduce

  1. Install fresh Magento instance
  2. Install sample data Using DevDocs

Expected result

It is looking for file /var/www/magento2/pub/media/downloadable/files/links/l/u/lumabackground-_model_against_fence_4sec.mp4

Actual result

while the actual file has been put into the wrong location which is

/var/www/magento2/pub/media/downloadable/downloadable/files/links/l/u/lumabackground-_model_against_fence_4sec.mp4

Additional information

[2023-04-13T04:20:03.546989+00:00] main.ERROR: Sample Data error: Warning: file_get_contents(/var/www/magento2/pub/media/downloadable/files/links/l/u/lumabackground-_model_against_fence_4sec.mp4): Failed to open stream: No such file or directory in /var/www/magento2/vendor/magento/module-downloadable-sample-data/Model/Product/Converter.php on line 132 [] []

Release note

No response

Triage and priority

m2-assistant[bot] commented 1 year ago

Hi @skygunner. Thank you for your report. To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:

m2-assistant[bot] commented 1 year ago

Hi @engcom-Dash. 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:


SPbryan007 commented 1 year ago

@magento give me 2.4.6 instance

magento-deployment-service[bot] commented 1 year ago

Hi @SPbryan007. Thank you for your request. I'm working on Magento instance for you.

magento-deployment-service[bot] commented 1 year ago

Hi @SPbryan007, here is your Magento Instance: https://08365ba70fd542fa8fd771e6d28add86.instances-prod.magento-community.engineering Admin access: https://08365ba70fd542fa8fd771e6d28add86.instances-prod.magento-community.engineering/admin_2ef9 Login: ce449f3b Password: a2ebfcce252d

engcom-Dash commented 1 year ago

Hi @skygunner ,

Verified the issue in 2.4.6 and 2.4-develop instance.The issue is reproducible in 2.4.6 and the issue is not reproducible 2.4-develop instance.

Preconditions:

Magento version 2.4.6 and 2.4-develop PHP version 8.1

Kindly refer the below screenshots: In 2.4-develop Instance:

Screenshot 2023-05-02 at 9 43 07 AM

in 2.4.6 -Magento instance

Screenshot 2023-05-02 at 9 37 04 AM

Issue can be reproducible in 2.4.6 magento instance,Sample data installed in wrong path,Hence we are confirming the issue.

Regards,

github-jira-sync-bot commented 1 year ago

:white_check_mark: Jira issue https://jira.corp.adobe.com/browse/AC-8666 is successfully created for this GitHub issue.

m2-assistant[bot] commented 1 year ago

:white_check_mark: Confirmed by @engcom-Dash. Thank you for verifying the issue.
Issue Available: @engcom-Dash, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.