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

Property does not have corresponding setter in class Magento\Quote\Api\Data\AddressInterface #7571

Closed
allamgr opened this issue Nov 25, 2016 · 6 comments

Comments

@allamgr
Copy link

allamgr commented Nov 25, 2016

Preconditions

  1. Create a custom module and add a eav attribute to customer_address.
  2. Add the extension attribute to Magento\Quote\Api\Data\AddressInterface.
  3. Here is a link to download my custom module https://drive.google.com/file/d/0B_ATVsq8N054c1dFdHU4emxGY28/view?usp=sharing

Steps to reproduce

  1. Add product to cart
  2. Proceed to checkout
  3. Create new shipping address
  4. Fill the reference field
  5. Save the shipping address
  6. Click next

Expected result

  1. The Payment method step should be showed

Actual result

  1. Property "Reference" does not have corresponding setter in class Magento\Quote\Api\Data\AddressInterface
    capture3

I have already clean and flush cache, run setup:upgrade and setup:di:compile

@veloraven
Copy link
Contributor

@allamgr thank you for you report.
Please, also identify which version of Magento you are running.

@allamgr
Copy link
Author

allamgr commented Nov 28, 2016

I'm using magento CLI version 2.2.0-dev.

Do I need to upgrade magento?

@veloraven
Copy link
Contributor

@allamgr thank you for update.
No, you do not need to upgrade. This information just was not specified in your description.
Which Magento edition do you use? As I can see you mention custom address attributes.
Customer custom address attributes are available in Enterprise edition only.
If you use this one, please contact Magento support instead of posting your issue here.
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 amd we can not treat it as an issue

@vzabaznov
Copy link
Contributor

hi @allamgr thank you for your reporting, we will close this issue for now as no update more than 2 week was received, please feel free to write here or to open new issue if needed

@ghost
Copy link

ghost commented Jun 30, 2017

What do you mean by custom attributes are only available in the Enterprise edition? This is not clearly stated anywhere - the checkout is described as highly customizable (which it is not whatsoever) and now I've discovered this bombshell when having the same issue as the original reporter.

Custom attributes cannot be added to customer addresses in Community Edition programmatically?

@peterjaap
Copy link
Contributor

@xAvarice yes they can be added programmatically. What @veloraven meant is that only Magento Commerce has a GUI in the admin for adding custom atributes on the customer.

magento-devops-reposync-svc pushed a commit that referenced this issue Apr 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants