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

Cannot create any type of content if blog has no preview image #73

Closed
jnptk opened this issue Apr 29, 2024 · 1 comment
Closed

Cannot create any type of content if blog has no preview image #73

jnptk opened this issue Apr 29, 2024 · 1 comment
Assignees
Labels

Comments

@jnptk
Copy link
Contributor

jnptk commented Apr 29, 2024

When trying to create content in a BlogFolder without the BlogFolder having a preview image you get an AttributeError from Module plone.volto.behaviors.preview_link, line 59, in __call__ saying 'NoneType' object has no attribute 'to_object' but if the BlogFolder has a preview image everything works fine.

/cc @davisagli @ericof

@jnptk jnptk added the bug label Apr 29, 2024
@ericof
Copy link
Member

ericof commented Apr 30, 2024

@jonaspiterek This is related to this PR. After the PR is merged, and a new plone.volto is released, we need to add plone.volto as a dependency here.

@ericof ericof added invalid and removed bug labels Apr 30, 2024
@ericof ericof closed this as completed Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants