legacy-knowledge-base
公開されました Sep. 10, 2025

Display date disappears if you update a web content

written-by

Ahmed Abdin

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

Issue

  • I have an issue with the web content article display date. When I update the web content by changing the title, the published date disappears.

Reproduction Steps:

1. Start 2025.q1.8-lts

2. Go to Content & Data --> Web Content, and create basic web content

3. Read all articles using API

curl -X 'GET' \
'http://fes.guest.cz:8080/o/headless-delivery/v1.0/sites/20119/structured-contents?flatten=true' \
-H 'accept: application/json' \
-H 'x-csrf-token: TR4KjC3O'
4. Read all the site articles using /o/headless-discovery API, the datePublished is available:
"customFields": [],
"dateCreated": "2025-06-04T13:05:11Z",
"dateModified": "2025-06-04T13:05:11Z",
"datePublished": "2025-06-04T13:05:00Z",
"description": "TEST3",

5. Update the web content, and add some character to its content.

6. Read again, using the same API, and see the datePublished.

Expected Result: The datePublished should be available and displayed.

Actual Result: The datePublished disappeared:

"customFields": [],
"dateCreated": "2025-06-04T13:05:11Z",
"dateModified": "2025-06-04T13:09:38Z",
"description": "TEST3",

Environment

  • Liferay Quarterly Release 2025.q1.8-lts

Resolution

  • The case has been fixed and addressed by LPD-52680. Request a hotfix or upgrade to 2025.q1.12-lts, where the issue is fixed.
did-this-article-resolve-your-issue

legacy-knowledge-base