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

Getting placeholders should not get an empty pagecontent #210

Open
jonathan-s opened this issue Mar 2, 2020 · 0 comments
Open

Getting placeholders should not get an empty pagecontent #210

jonathan-s opened this issue Mar 2, 2020 · 0 comments

Comments

@jonathan-s
Copy link
Contributor

jonathan-s commented Mar 2, 2020

In the following line there is a chance that we will return an EmptyPageContent
https://github.com/divio/djangocms-versioning/blob/master/djangocms_versioning/monkeypatch/page.py#L35

If the title does not exist. The title won't exist if it is a draft. So we need to account for drafts here.

Issue occurred when trying to copy a page when you are viewing pagecontent.

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

1 participant