Skip to content

Unnecessary hardcoded validation of customer/address attributes #624

@nkajic

Description

@nkajic

Hi all,

I am first time here, so sorry if question is stupid but:

I have one concern about validation in Magento/Customer/Model/Address/AbstractAddress.php::validate().

Why are we inside validate() still checking for value of 'telephone' if it can be set as "is_required = false" inside eav_attributes table and it is not required of delivery.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions