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

Import gives errors when the language of Magento is not English #36704

Open jesse-deboer opened 1 year ago

jesse-deboer commented 1 year ago

Preconditions and environment

Steps to reproduce

  1. Use a language like Dutch or something at least other than English for the admin
  2. Run an import job for products

Expected result

Import goes well without any errors

Actual result

Value for 'elasticsearchcore_ignore' attribute contains incorrect value, see acceptable values on settings specified for Admin in rows: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12
Value for 'visibility' attribute contains incorrect value, see acceptable values on settings specified for Admin. For SKU: "SKU12345" in rows: 1
Value for 'visibility' attribute contains incorrect value, see acceptable values on settings specified for Admin. For SKU: "SKU123456" in rows: 2
and so on ..

Additional information

Works when u set back the language, but this should work with every admin language

The issue is already there for 6 years, but has never been fixed properly: https://github.com/magento/magento2/issues/3923

Release note

No response

Triage and priority

m2-assistant[bot] commented 1 year ago

Hi @jesse-deboer. Thank you for your report. To speed up processing of this issue, make sure that you provided the following information:

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:

@magento give me 2.4-develop instance - upcoming 2.4.x release

For more details, review the Magento Contributor Assistant documentation.

Add a comment to assign the issue: @magento I am working on this

To learn more about issue processing workflow, refer to the Code Contributions.


:clock10: You can find the schedule on the Magento Community Calendar page.

:telephone_receiver: The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.

:pencil2: Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel

m2-assistant[bot] commented 1 year ago

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: :point_down:

engcom-Bravo commented 1 year ago

Hi @jesse-deboer,

Thank you for reporting and collaboration. Verified the issue on Magento 2.4-develop instance and the issue is not reproducible.Kindly refer the screenshots.

Steps to reproduce

1.Use a language like Dutch or something at least other than English for the admin 2.Run an import job for products

Screenshot 2023-01-05 at 4 08 20 PM Screenshot 2023-01-05 at 4 08 47 PM Screenshot 2023-01-05 at 4 08 55 PM

Import Done Successfully without any errors.

Kindly let us know if we missed anything.

Thanks.

jesse-deboer commented 1 year ago

I think you have to flush your cache first because the language of your admin looks to be in English still instead of Spanish from what I can see in the screenshots ..

Your admin should have another language and be translated.

engcom-Bravo commented 1 year ago

Hi @jesse-deboer,

Thanks for your update.

Verified the issue on Magento 2.4-develop instance and the issue is reproducible.Kindly refer the screenshots.

Steps to reproduce

1.Use a language like Dutch or something at least other than English for the admin 2.Run an import job for products

Language of Admin is set as French

Screenshot 2023-01-06 at 12 52 47 PM

While Importing a CSV file for products.We are getting errors.

Screenshot 2023-01-06 at 12 57 53 PM

Hence confirming the issue.

Thanks.

github-jira-sync-bot commented 1 year ago

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

m2-assistant[bot] commented 1 year ago

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