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

Page Image mapping error #137

Closed
nicoplh opened this issue Apr 30, 2018 · 6 comments · Fixed by #159
Closed

Page Image mapping error #137

nicoplh opened this issue Apr 30, 2018 · 6 comments · Fixed by #159

Comments

@nicoplh
Copy link

nicoplh commented Apr 30, 2018

Hi, it seems there is an error in the new mapping ?

[FAIL] The entity-class BitBag\SyliusCmsPlugin\Entity\PageImage mapping is invalid:

  • The association BitBag\SyliusCmsPlugin\Entity\PageImage#owner refers to the inverse side field BitBag\SyliusCmsPlugin\Entity\PageTranslation#image which does not exist.
@bitbager
Copy link
Member

bitbager commented May 8, 2018

CC @antonioperic. Could you take a look at this issue?

@antonioperic
Copy link
Contributor

I will check it on Monday, I am at PHP day at the moment

@bitbager
Copy link
Member

👌. I think the page resource needs some more love. The slug is not being generated automatically from the name and the image preview does not work.

CC @patrick477

@bitbager
Copy link
Member

@antonioperic, have you maybe found some time for it?

@antonioperic
Copy link
Contributor

@bitbager i will try this week. sorry busy to much

@antonioperic
Copy link
Contributor

@nicoplh I cannot reproduce that bug. I tried in plugin standalone version and also inside our project. everything seems ok. if you can give more info, please

bitbager added a commit that referenced this issue Jun 26, 2018
fixed slug generation and image preview #137
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants