Skip to content
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

Cannot import zero (0) value into custom attribute #12083

Closed
gwilliams01 opened this issue Nov 7, 2017 · 3 comments
Closed

Cannot import zero (0) value into custom attribute #12083

gwilliams01 opened this issue Nov 7, 2017 · 3 comments
Assignees
Labels
Fixed in 2.2.x The issue has been fixed in 2.2 release line Fixed in 2.3.x The issue has been fixed in 2.3 release line Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Reproduced on 2.1.x The issue has been reproduced on latest 2.1 release Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release

Comments

@gwilliams01
Copy link

When using the Admin product import feature it is not possible to import a zero (0) value into custom attribute field. Instead the value is unchanged.

Preconditions

Magento 2.1.9

Steps to reproduce

  1. Create custom attribute using Text Field input type
  2. Create product import CSV with "additional_attributes" column populated "custom_attribute_code=0"
  3. Import - Entity Type "Products" - Import Behaviour "Add/Update (all others default)
  4. "Check Data" - No errors
  5. Click "Import" button

Expected result

  1. Product "custom_attribute_code" should be updated with zero (0) value

Actual result

  1. Product "custom_attribute_code" does not change
@magento-engcom-team magento-engcom-team added Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed 2.1.x Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed labels Nov 7, 2017
@magento-engcom-team
Copy link
Contributor

@gwilliams01, thank you for your report.
We've created internal ticket(s) MAGETWO-83453 to track progress on the issue.

@magento-engcom-team magento-engcom-team added Reproduced on 2.1.x The issue has been reproduced on latest 2.1 release Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release labels Nov 8, 2017
@p-bystritsky p-bystritsky self-assigned this Nov 14, 2017
p-bystritsky added a commit to p-bystritsky/magento2 that referenced this issue Nov 15, 2017
p-bystritsky added a commit to p-bystritsky/magento2 that referenced this issue Nov 15, 2017
@okorshenko
Copy link
Contributor

Fixed in 2.2-develop

@okorshenko okorshenko added the Fixed in 2.2.x The issue has been fixed in 2.2 release line label Dec 1, 2017
@okorshenko
Copy link
Contributor

Hi @gwilliams01. Thank you for your report.
The issue has been fixed in magento-engcom/magento2ce#1323 by @magento-engcom-team in 2.3-develop branch
Related commit(s):

The fix will be available with the upcoming 2.3.0 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fixed in 2.2.x The issue has been fixed in 2.2 release line Fixed in 2.3.x The issue has been fixed in 2.3 release line Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Reproduced on 2.1.x The issue has been reproduced on latest 2.1 release Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release
Projects
None yet
Development

No branches or pull requests

4 participants