backdrop-contrib / paragraphs

Paragraphs module to control your content flow
https://backdropcms.org/project/paragraphs
GNU General Public License v2.0
5 stars 11 forks source link

Scheduling a node for publication in the future fails if it has a paragraph field on it. #54

Closed serundeputy closed 4 years ago

serundeputy commented 4 years ago

When scheduling a node w/ a paragraphs field to be published in the future it fails:

gff ~/code/aturnintime/htb (master) 
└─ $ ∴ lando.dev drush cron
Error: Call to undefined function entity_revision_load() in paragraphs_item_revision_load() (line 60 of /app/web/modules/contrib/paragraphs/paragraphs.module).
Drush command terminated abnormally due to an unrecoverable error.                                                                                                                                                                                   [error]

The function entity_revision_load was provided by the entity module in D7. In Backdrop the function is in entity_plus and therefore is namespaced as entity_plus_revision_load.

serundeputy commented 4 years ago

I went to file a PR for this, but it is already fixed in 1.x-1.x https://github.com/backdrop-contrib/paragraphs/blob/1.x-1.x/paragraphs.module#L61, however the fix is not in the latest release 1.x-1.0.1

Making a new release would fix this issue for me.

laryn commented 4 years ago

Thanks @serundeputy -- I'm going to mark as a duplicate of https://github.com/backdrop-contrib/paragraphs/issues/33

As you noted this should be fixed in the 1.x-1.x and I'm hoping to make a new release soon. Just hoping for another kick or two of the tires from users.