I tried to create new revision for a subqueue but returns that entitiyqueue does not support revisions. Is this feature planned to be implemented and are there any workarounds about that for the moment?

Comments

Spec0 created an issue. See original summary.

spec0’s picture

Created a patch for enabling revision support for entitysubqueue.

Roensby’s picture

Status: Active » Needs review

+1 This simple patch works and adds a useful feature to entity queue.

Roensby’s picture

StatusFileSize
new30.5 KB

Old patch does not apply to new beta branch.

Here is a new patch with full revision support, including UI revision table and revert functions.

Permissions are not thought through, but works fine with administrator privileges.

amateescu’s picture

Title: Entityqueue revisions » Add a revision UI for subqueues
Category: Feature request » Task
Priority: Normal » Major
Issue tags: -revisions

I agree that revision support is very much needed, and now that Drupal 8.7.0 added an Entity Update API which can safely convert the schema of an entity type from non-revisionable to revisionable even when it has existing data, I think we're finally able to do this conversion safely.

Since multilingual support is also needed among other things, I opened a separate issue to do all the conversions in one go (#3058127: Convert subqueues to be revisionable, translatatable and publishable), and credited both of you for the work done in this issue.

That patch enabled revision support only at the API level, so I'm keeping this issue open for the UI part :)

amateescu’s picture

Priority: Major » Normal
Status: Needs review » Closed (duplicate)
Related issues: +#2350939: Implement a generic revision UI

A generic revision UI will be provided for us by Drupal core itself when #2350939: Implement a generic revision UI will be fixed, and I don't think we necessarily need it now in Entityqueue itself.

dpi’s picture

Title: Add a revision UI for subqueues » [PP-1] Add a revision UI for subqueues
Status: Closed (duplicate) » Postponed

@ #6 there will still be glue required by this module. It wont be fully automatic. See change record https://www.drupal.org/node/3160443

dpi’s picture

Title: [PP-1] Add a revision UI for subqueues » Add a revision UI for subqueues
Status: Postponed » Active

Consider a new major/minor version requiring Drupal 10.1, now that the required revision foundation is merged: #2350939: Implement a generic revision UI

amateescu’s picture

Status: Active » Postponed

Considering that we don't even have a stable release of Drupal 10 at this time, an Entityqueue version that would depend on 10.1 is quite far off in the future :)

aaronmchale’s picture

bhanu951’s picture

Status: Postponed » Needs work

A we have a stable release of Drupal 10 un-postponing it.