core icon indicating copy to clipboard operation
core copied to clipboard

All SDKs unable to expire FTM content

Open jdcmsd opened this issue 7 months ago • 0 comments

Problem Statement

Content expiration via the Future Time Machine is only possible in traditional mode. The good news is content scheduling does appear to work in all five SDK libraries (Next.js, Angular, Astro, Laravel, Symfony), but without expiration, we're only implementing half of the FTM in headless examples.

Steps to Reproduce

  1. Configure UVE to work with any of the five current SDK library example projects — Next.js, Angular, Astro, Laravel, or Symfony.
  2. Set demo-site banner to expire in a week.
  3. Add a new contentlet to the banner container, scheduled to appear when the original expires.
  4. Go to Published mode and use the date picker to jump to the scheduled date.
  5. See BOTH banners present, where the old one should have disappeared.
  6. Switch to the other SDKs, see same.
  7. If you delete the UVE config, you will note traditional mode behaves properly.

Example screenshots below.

Acceptance Criteria

All SDK libraries/examples should expire content properly.

dotCMS Version

25.06.05-1, 25.06.03-1, and probably all the others.

Proposed Objective

Core Features

Proposed Priority

Priority 2 - Important

External Links... Slack Conversations, Support Tickets, Figma Designs, etc.

Here's a video which contains an illustration. https://dotcms.slack.com/archives/CSHTYUR7H/p1749414591572679?thread_ts=1748029281.346769&cid=CSHTYUR7H

Here are some screenshots. First is traditional mode, behaving properly.

Note the date picker dates:

  • Current date, June 10, displays original banner
  • June 16 displays new one.

Image

Image

Similarly, see date on all the headless examples showing both banners:

Image Image Image Image Image

jdcmsd avatar Jun 10 '25 15:06 jdcmsd