Skip to content

[DEFECT] Deleted Contentlet Reappears in UVE When Style Editor Form Remains Open #34425

@ihoffmann-dot

Description

@ihoffmann-dot

Problem Statement

The new Style Editor feature currently has an issue where Contentlets deleted from the UVE reappear in the view under a specific scenario. This occurs when a Contentlet that was being edited via the Style Editor is deleted. If, after deletion, an attempt is made to continue modifying its styles from the Style Editor panel, the Contentlet reappears in the UVE.

While the Contentlet reappears visually, it is not actually saved; the problem appears to be a rendering issue. The reappearing Contentlet disappears if the Page is published or the browser is refreshed.

Steps to Reproduce

  1. Add a Contentlet to a Container on a Page.
  2. Modify the Contentlet's styles using the Style Editor.
  3. Delete the Contentlet from the UVE.
  4. While the Style Editor form is still open, attempt to modify the styles of the previously deleted Contentlet using that form.
  5. Expected result: The Contentlet should remain deleted and the Style Editor form should close or indicate the item is no longer available.
  6. Actual result: The Contentlet reappears in the UVE.
Bug.Style.Editor.mp4

Acceptance Criteria

To resolve this issue, the following objective criteria must be met:

  • It must be possible to edit the styleProperties of any Contentlet while maintaining the current expected behavior.
  • When a Contentlet with an open Style Editor properties form is deleted, this form must automatically close to prevent further modification attempts on a non-existent item.
  • Contentlets that have been deleted must not reappear in the UVE after being deleted, regardless of whether their Style Editor form was open.

dotCMS Version

main

Severity

Medium - Some functionality impacted

Links

NA

Metadata

Metadata

Type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions