core icon indicating copy to clipboard operation
core copied to clipboard

[Layout] : Content disappears from page after Layout is updated

Open jcastro-dotcms opened this issue 1 year ago • 0 comments

Parent Issue

No response

Problem Statement

When a Contentlet is added to an HTML Page, and a new row is added to the current Layout, such a Contentlet disappears from the page.

If you check the multi-tree table in the database, you'll see that the value of the relation_type column is off. For instance:

Screenshot 2024-06-27 at 10 36 46 AM

Such a value should be a consecutive short number, not a number that seems to be a time in milliseconds.

Steps to Reproduce

  1. Create an HTML Page using the Default Template (demo.dotcms.com).
  2. Add a new Rich Text content to it.
  3. Click the LAYOUT button. Add a new row at the top of the page's Layout. Leave it as is, using the SYSTEM_CONTAINER.
  4. Click the CONTENT button. You'll see that the previous Rich Text is missing now.

Acceptance Criteria

Updating the Layout of a new page must not cause it to drop its Contentlets.

dotCMS Version

Latest master.

Proposed Objective

Core Features

Proposed Priority

Priority 2 - Important

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

jcastro-dotcms avatar Jun 27 '24 16:06 jcastro-dotcms