Skip to content

product_type attribute contains incorrect value in mass import export csv after creating custom type_id attribute. actual type_id value in database gets change with newly created attribute type_id. #19891

Closed
@surabhisrivastava09

Description

@surabhisrivastava09

Preconditions (*)

  1. magento 2.2.4
  2. PHP 7.0.15

Steps to reproduce (*)

  1. Create dropdown type product attribute with attribute code "type_id" and assign the product attribute to attribute set.
  2. Create new product using that attribute and save it.
  3. Export the product.
  4. Import using the same csv.

Expected result (*)

  1. Magento shouldn't allows to create attribute with attribute code type_id.
  2. product_type column in csv should not contain the custom type_id attribute value.
  3. If it is allows to create attribute but it shouldn't allows to create product.

Actual result (*)

  1. Magento allows to create the attribute with attribute code type_id.
  2. product_type column in csv contains the custom type_id attribute value.
  3. After creating product using type_id attribute , price & quantity fields value become 0 or null.

http://i.imgur.com/UTDCehu.png
http://i.imgur.com/43j5o1x.png
i.imgur.com/7PGBpXi.png

Metadata

Metadata

Assignees

Labels

Component: CatalogFixed in 2.2.xThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions