Problem/Motivation

There are areas of the code that do the following on an entity query of unknown entity type:

$query->condition('status', 1);

Steps to reproduce

Use the module on an entity type without a published field.

Proposed resolution

Use the appropriate entity keys.

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork prevnext-3594413

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

andyf created an issue. See original summary.

andyf’s picture

Pushed up a test to catch it, should run red.

andyf’s picture

Assigned: andyf » Unassigned
Status: Active » Needs review

I used this as a bit of an excuse to get some more testing in.

astonvictor’s picture

Status: Needs review » Fixed

thnaks for the report.
MR looks ok for me

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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