Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customer address unique attribute not validated #7845

Closed
bartlubbersen opened this issue Dec 16, 2016 · 7 comments
Closed

Customer address unique attribute not validated #7845

bartlubbersen opened this issue Dec 16, 2016 · 7 comments
Assignees
Labels
Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Progress: done

Comments

@bartlubbersen
Copy link
Contributor

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.

@veloraven
Copy link
Contributor

@bartlubbersen thank you for your report.
What Magento edition do you use?
New customer address attributes are enable in Enterprise Edition only. So if you use EE please report this issue via the Support portal of your account or Partner portal if you are a partner reporting on behalf of a merchant. Github is intended for Community edition reports given no account management for CE users. This will allow for proper tracking of issues at the account level.
If you use Community Edition please address your question at programming questions forum or Magento Stack Exchange. As it is not a native behavior of Magento CE and we can not treat it as an issue

@bartlubbersen
Copy link
Contributor Author

@veloraven,
We are using CE and not enterprise, however this still is a bug and not a question. Since you can also add custom address attributes via setup scripts, so it still needs solving.

@ishakhsuvarov
Copy link
Contributor

@bartlubbersen Please look into the Pull Request #9712 proposed by @bka and @storbahn
It is aimed to fix this issue, and is already merged in the branch develop. Hope that helps for now.

@magento-engcom-team magento-engcom-team added the Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed label Sep 11, 2017
@magento-engcom-team magento-engcom-team added the Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed label Oct 12, 2017
@magento-engcom-team magento-engcom-team self-assigned this Oct 12, 2017
@magento-engcom-team magento-engcom-team added 2.1.x Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Reproduced on 2.1.x The issue has been reproduced on latest 2.1 release Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release labels Oct 12, 2017
@magento-engcom-team
Copy link
Contributor

@bartlubbersen, thank you for your report.
We've created internal ticket(s) MAGETWO-81796 to track progress on the issue.

@mukdam
Copy link

mukdam commented Feb 6, 2018

Also issue in customer attribute unique in magento 2.2.0

@sdzhepa sdzhepa removed Issue: Confirmed Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development Reproduced on 2.1.x The issue has been reproduced on latest 2.1 release Reproduced on 2.2.x The issue has been reproduced on latest 2.2 release Reproduced on 2.3.x The issue has been reproduced on latest 2.3 release labels Dec 7, 2019
@sdzhepa sdzhepa self-assigned this Dec 7, 2019
@m2-assistant
Copy link

m2-assistant bot commented Dec 7, 2019

Hi @sdzhepa. Thank you for working on this issue.
In order to make sure that issue has enough information and ready for development, please read and check the following instruction: 👇

  • 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).

    DetailsIf the issue has a valid description, the label Issue: Format is valid will be added to the issue automatically. Please, edit issue description if needed, until label Issue: Format is valid appears.

  • 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue. If the report is valid, add Issue: Clear Description label to the issue by yourself.

  • 3. Add Component: XXXXX label(s) to the ticket, indicating the components it may be related to.

  • 4. Verify that the issue is reproducible on 2.4-develop branch

    Details- Add the comment @magento give me 2.4-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.4-develop branch, please, add the label Reproduced on 2.4.x.
    - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!

  • 5. Add label Issue: Confirmed once verification is complete.

  • 6. Make sure that automatic system confirms that report has been added to the backlog.

@sdzhepa
Copy link
Contributor

sdzhepa commented Oct 8, 2020

We are not able to reproduce this on the latest code 2.4-develop
Seems it was already fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue: Clear Description Gate 2 Passed. Manual verification of the issue description passed Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Progress: done
Projects
Archived in project
Development

No branches or pull requests

6 participants