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

Fieldcollection Error #24

Open
damix1984 opened this issue Dec 29, 2021 · 3 comments
Open

Fieldcollection Error #24

damix1984 opened this issue Dec 29, 2021 · 3 comments

Comments

@damix1984
Copy link

damix1984 commented Dec 29, 2021

Hi, i have an error when i try to translate a field in a fieldcollection, have i missed something?

@prugala
Copy link
Contributor

prugala commented Dec 29, 2021

Could you provide an error message?

@damix1984
Copy link
Author

{"success":false,"message":"Call to undefined method getKeypoint in class Pimcore\Model\DataObject\Product"}

Seems like searching the field in the object instead in fieldcollection.

@damix1984
Copy link
Author

I investigated in the code. The problem is in the way the translate button is setted in the frontend and in the way the controller works. The button is setted thinking only about normal fields, not fieldcollections. The controller receive the fieldName and only calls the get method, but for fieldcollections obviously it can't work.

Any suggestion or news about it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants