Skip to content

Customer address unique attribute not validated #7845

Closed
@bartlubbersen

Description

@bartlubbersen

Preconditions

  1. Magento 2.1.3
  2. PHP7

Steps to reproduce

  1. Add a new customer address attribute that should be unique.
  2. Save the value in two different addresses with the same value. (via Admin)

Expected result

  1. It should throw an error that the value must be unique.

Actual result

  1. It is saving both addresses with the same value.

Comment

I tested this with two existing addresses and with adding a new address in both cases the problem exists.

Metadata

Metadata

Assignees

Labels

Issue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedProgress: done

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions