'Last updated field' should not allow expiration and warning fields.

Created on 30 April 2024, 8 months ago

Problem/Motivation

The 'last updated field' on the Expirable Content Type edit form allows for circular logic.

Steps to reproduce

  • Configure an Expirable Content Type for a node or another entity. The details of the configuration don't matter.
  • Clear the Drupal cache.
  • Edit the Expirable content type
  • Under 'Last updated field', see that the 'expiration_date' and 'warning_date' fields are selectable.

Proposed resolution

Prevent setting this at the form level.
Consider adding a constraint.

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States coderdan

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

Comments & Activities

Production build 0.71.5 2024