As a developer, I need to fix the inode reference issue in the new functionality for editing contentlets within a Block Editor. When new contentlets are added and saved, the inode of the original content is not updating correctly, causing the interface to revert to an older version of the content upon returning to the original contentlet. The solution is to use the identifier to ensure the JSP for editing contentlets fetches the latest working version.
Steps to Reproduce
Open a Content
Add a contentlet in the Block Editor
Save/Publish it
Click in the Content let to go to edit (click in the menu/pencil)
edit the title
Back to the previous content to continiue working
The contentlet added to the Block Editor not appear
But if you go to the History you can see the new working content there.
Acceptance Criteria
Update the inode reference handling to use the identifier instead, ensuring the JSP fetches the latest working version of the contentlet.
Ensure that when returning to the original contentlet after editing and saving embedded contentlets, the latest version is displayed.
Validate that the fix works across different scenarios and does not introduce new bugs.
Update any relevant documentation to reflect the changes in handling contentlet references.
dotCMS Version
master
Proposed Objective
User Experience
Proposed Priority
Priority 2 - Important
External Links... Slack Conversations, Support Tickets, Figma Designs, etc.
Note: Really it can happen using relationship field too, Step to reproduce
Create a Content Type, let call it type_1, add a text Field called 'Title'.
Create a second Content Type. let call it type_2, add a text field calle 'Title' and a relationship field called type_1.
Create a Content from type_1.
Create a Content from type_2 and related it with the newly created type_1 Contentlet.
Edit the type_2 Contentlet, change the title and Save.
Without close de Dialog, Click on the Related Contentlet, and then click on the 'Return to: ...' link, you are going to go the old version of type_2 Contentlet.
Parent Issue
No response
Problem Statement
As a developer, I need to fix the inode reference issue in the new functionality for editing contentlets within a Block Editor. When new contentlets are added and saved, the inode of the original content is not updating correctly, causing the interface to revert to an older version of the content upon returning to the original contentlet. The solution is to use the identifier to ensure the JSP for editing contentlets fetches the latest working version.
Steps to Reproduce
But if you go to the History you can see the new working content there.
Acceptance Criteria
dotCMS Version
master
Proposed Objective
User Experience
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