Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FTM: Future Contentlet Image Not Updating Correctly #31480

Closed
fabrizzio-dotCMS opened this issue Feb 26, 2025 · 2 comments · Fixed by #31590
Closed

FTM: Future Contentlet Image Not Updating Correctly #31480

fabrizzio-dotCMS opened this issue Feb 26, 2025 · 2 comments · Fixed by #31590

Comments

@fabrizzio-dotCMS
Copy link
Contributor

Parent Issue

No response

Problem Statement

The issue with switching images between Draft, Preview, and Published states appears to be resolved; however, a new problem has been observed.

When viewing contentlets, the correct titles are displayed, and the initial image loads correctly. However, there is an issue when handling future contentlets with scheduled publish dates.

Steps to Reproduce

  1. Create a banner contentlet with Image1 in the Published state.
  2. Create another contentlet (same banner) in the Working state with Image2, scheduled to be published in the future (e.g., March 15).
  3. Use the calendar feature to preview the content for March 15.

Expected Behavior:
• The future contentlet should display Image2 as it is the image associated with the scheduled version.

Actual Behavior:
• Instead of showing Image2, the old Image1 remains visible when previewing the future state.

Screen.Recording.2025-02-25.at.7.51.43.PM.mov

Acceptance Criteria

We should see the proper image assigned to the contentlet version

dotCMS Version

current main

Proposed Objective

Customer Success

Proposed Priority

Priority 1 - Show Stopper

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

No response

Assumptions & Initiation Needs

No response

Quality Assurance Notes & Workarounds

No response

Sub-Tasks & Estimates

No response

@fabrizzio-dotCMS fabrizzio-dotCMS changed the title Future Contentlet Image Not Updating Correctly FTM: Future Contentlet Image Not Updating Correctly Feb 26, 2025
@fabrizzio-dotCMS fabrizzio-dotCMS added the Blocker This issue is blocking the release label Feb 26, 2025
@nollymar nollymar added Priority : 2 High and removed Blocker This issue is blocking the release labels Feb 26, 2025
@nollymar nollymar moved this from New to Current Sprint Backlog in dotCMS - Product Planning Feb 26, 2025
@valentinogiardino valentinogiardino self-assigned this Mar 5, 2025
@nollymar nollymar removed the Triage label Mar 5, 2025
@nollymar nollymar moved this from Current Sprint Backlog to In Progress in dotCMS - Product Planning Mar 6, 2025
valentinogiardino added a commit that referenced this issue Mar 12, 2025
@valentinogiardino valentinogiardino linked a pull request Mar 12, 2025 that will close this issue
3 tasks
Copy link

@fabrizzio-dotCMS
Copy link
Contributor Author

Passed QA!
Looks great!
I even added a ViewTool that uses the TM session attribute in a template. When rendered, the attribute is removed properly when no publishDate is passed.

@fabrizzio-dotCMS fabrizzio-dotCMS removed their assignment Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants