Closed
Description
Preconditions
Magento 2.2.2
Steps to reproduce
Create custom customer attribute of type int with default value 0
Expected Result
When a new customer is created value 0 will be set for above custom attribute if no other value was explicitly provided
Actual result
No value is saved for above custom customer attribute when no value is explicitly provided
FWI:
The customer attribute was created by the book and setting another default (e.g 123) will have the expected result