Problem/Motivation

When loading the entityqueue form, the configured selection plugin form is not populated correctly due to wrong parameters being passed. So even after changing the settings, reloading the form will show no values.

Steps to reproduce

Create an entityqueue and configure it to only be able to select Article nodes. Save. Reload the edit form of the queue and no selection will appear as having been saved (though it did).

Proposed resolution

Pass correct variables to the selection plugin.

Remaining tasks

Do it.

User interface changes

None

API changes

None

Data model changes

None

CommentFileSizeAuthor
#2 3184298-2.patch839 bytesupchuk

Comments

Upchuk created an issue. See original summary.

upchuk’s picture

Status: Active » Needs review
StatusFileSize
new839 bytes

Here is the fix.

thpoul’s picture

Status: Needs review » Reviewed & tested by the community

I can replicate the issue on both 8.x-1.1 and 8.x-1.x-dev and can confirm this patch fixes it.

Thank you Upchuk, it works like a charm!

  • amateescu committed 4c43b39 on 8.x-1.x authored by Upchuk
    Issue #3184298 by Upchuk, thpoul: The entityqueue form doesn't load...
amateescu’s picture

Priority: Normal » Major

This problem affects Drupal 9.x and it's caused by #2787873: Add a base class for entity reference selection handlers and fix the structure of their configuration, which provided a BC layer for Drupal 8.x but that was removed in 9.x. Thanks for finding it!

Committed to 8.x-1.x.

amateescu’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.