Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Improve Errormessage  #82

@piotrekkaminski

Description

@piotrekkaminski

From @brosenberger on October 30, 2017 10:53

Preconditions

  1. Misconfigured product update within UpgradeData-Script:
$eavSetup->addAttribute(\Magento\Catalog\Model\Product::ENTITY, 'pim_option_1', [
...
    'global' => \Magento\Eav\Model\Entity\Attribute\ScopedAttributeInterface::SCOPE_WEBSITE,
...
]);

Steps to reproduce

  1. Create a correct product import csv for a configurable product including some references within the configuration_variants column
  2. go to admin-backend/system/import
  3. choose products to import with above created import file
  4. press validate data button

Expected result

  1. validation erros shows up with a more specific message like 'Attribute with code must be global and is not super in row(s)'
  2. see https://magento.stackexchange.com/questions/139630/attribute-with-this-code-is-not-super-in-row-magento-2

Actual result

  1. validation error shows up with message: Attribute with this code is not super in row(s)

Copied from original issue: magento/magento2#11871

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions