-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
Component: CustomerFixed in 2.3.xThe issue has been fixed in 2.3 release lineThe issue has been fixed in 2.3 release lineIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseThe issue has been reproduced on latest 2.2 release
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
Component: CustomerFixed in 2.3.xThe issue has been fixed in 2.3 release lineThe issue has been fixed in 2.3 release lineIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseThe issue has been reproduced on latest 2.2 release