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

Scheduled publication doesn't work with paragraphs #33

Closed
laryn opened this issue Mar 9, 2019 · 2 comments
Closed

Scheduled publication doesn't work with paragraphs #33

laryn opened this issue Mar 9, 2019 · 2 comments

Comments

@laryn
Copy link
Member

laryn commented Mar 9, 2019

Cron gave this error when trying to publish a node that has paragraphs:

Error: Call to undefined function entity_revision_load() in paragraphs_item_revision_load() (line 60 of /path/modules/paragraphs/paragraphs.module).

@laryn laryn added the bug Something isn't working label Mar 9, 2019
@docwilmot
Copy link
Member

To get rid of the error we could just copy and rename entity_revision_load() from D7 Entity API, as it looks simple. But dont know if that would fix scheduled publication. Worth a try.

@laryn
Copy link
Member Author

laryn commented May 13, 2019

While generally not a fan of just duplicating functions in potentially a bunch of different modules/places, this is a pretty small function. I left a note so that if entity_revision_load gets into core or if I add a future dependency on Entity Plus, I can be reminded to revert this. (And some of the other entity_revision_ functions that were already duplicated)

Thanks!

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