-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
Component: ImportExportIssue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passed
Description
In case empty values (spaces) are specified for required attributes in import file (example: first name and last name), there is no validation error and import is done successfully. Though it's not possible to create a customer with empty first name and last name via admin interface.
Test data
| _website | firstname | group_id | lastname | |
|---|---|---|---|---|
| [email protected] | base | 1 |
Preconditions
- Version 2.0
Steps to reproduce
- Open Backend -> System -> Import/Export -> Import
- Select Entity Type: Customers
- Select Import Behaviour: Append Complex Data
- Select Import Format Version: Magento 1.7 format
- Select test file
- Click Check Data button.
Expected result
validation error, messages "Required attribute 'firstname' has an empty value in rows: 1" and "Required attribute 'lastname' has an empty value in rows: 1" are shown
Actual result
validation successful, message "File is valid! To start import process press "Import" button" is shown
Note
The same issue exists for Magento 2.0 import format
Metadata
Metadata
Assignees
Labels
Component: ImportExportIssue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passed