Fix missing mandatory "AdContent" entity revision keys

Created on 4 July 2025, 3 days ago

Problem/Motivation

Inside 🐛 Integrate with scheduler module Active I got the error "publish_on" not found after a scheduled ad_content entity should be published through cron via entity query, even when both the normal and revision data table of the ad_content entity had the "missing" field as a column in place as expected.

Turns out, the "AdContent" entity is revisionable, but does NOT provide a "revision_data_table" entity key, leading to the error, because scheduler can not resolve the "revision_data_table" in the SchedulerManager $query->latestRevision() call, leading to the "publish_on" error not found (which is quite confusing, as it should say "could not resolve revision data table" but whatever...).

Steps to reproduce

Proposed resolution

Add the mandatory revision entity keys.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

11.0

Component

ad module

Created by

🇩🇪Germany Grevil

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024