findByTag method also searches unpublished nodes

Created on 23 November 2022, almost 2 years ago
Updated 17 April 2023, over 1 year ago

Problem/Motivation

Currently, when calling SystemTagFinderPluginBase::findByTag, there is no check if the entity that is returned is actually published.

Patch attached, adds a check to see if the entity is published.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇧🇪Belgium JeroenT 🇧🇪

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024