core icon indicating copy to clipboard operation
core copied to clipboard

Fix Inode Reference Issue in Block Editor Contentlet Editing (JSP)

Open oidacra opened this issue 8 months ago • 1 comments

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

  • 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.

No response

Assumptions & Initiation Needs

No response

Quality Assurance Notes & Workarounds

No response

Sub-Tasks & Estimates

No response

oidacra avatar May 30 '24 15:05 oidacra