Closed
Description
Preconditions (*)
- Magento Version 2.2.6
Steps to reproduce (*)
- Create a new required customer attribute of type decimal with a default of 0 e.g.
'bal' => [
'is_used_in_grid' => false,
'is_visible_in_grid' => false,
'is_filterable_in_grid' => false,
'is_searchable_in_grid' => false,
'type' => 'decimal',
'label' => 'AR Balance',
'input' => 'text',
'required' => true,
'default' => 0,
'sort_order' => 202,
'visible' => true,
'system' => false,
'validate_rules' => null,
'position' => 202,
'user_defined' => false,
'frontend_class' => 'validate-number'
],
- Attempt to create a customer on front-end, or attempt to assign the value of 0 through the API.
Expected result (*)
- Customer attribute should be set with a 0 value.
Actual result (*)
- Both of these fail with [Attribute] is a required value.
Metadata
Metadata
Assignees
Labels
The issue has been fixed in 2.3 release lineGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 1 Passed. Automatic verification of issue format passedGate 4. Acknowledged. Issue is added to backlog and ready for developmentThe issue has been reproduced on latest 2.2 release