Skip to content

[Style Editor] - Updating/Creating Style Editor Schema for Content Type Silently Deletes Assigned Workflow #35781

@KevinDavilaDotCMS

Description

@KevinDavilaDotCMS

Problem Statement

When a user creates or updates the Style Editor schema for a Content Type, the workflow previously assigned to that Content Type is silently deleted. This issue severely impacts Content Types because the deletion occurs without any user notification. Consequently, users are unaware of the change and may continue creating Contentlets of that type incorrectly, which disrupts their entire workflow. This is a critical issue due to its silent nature and the significant downstream impact on content creation processes. The original description does not specify if this is a front-end specific issue, therefore browser and OS details are not included.

Steps to Reproduce

  1. Prerequisite: Ensure you have an existing Content Type with a workflow successfully assigned to it.
  2. Navigate to the configuration settings for the aforementioned Content Type.
  3. Access the 'Style Editor Schema' section for this Content Type.
  4. Perform an action to either create a new Style Editor schema or update an existing one for this Content Type (e.g., save changes after modifying the schema).
  5. After saving the Style Editor schema, navigate back to the Content Type's general settings or workflow assignment section.
  6. Expected Result: The previously assigned workflow should still be correctly associated with the Content Type.
  7. Actual Result: The assigned workflow is found to be silently deleted or unassigned from the Content Type.

[Please provide a video screencast demonstrating the issue here, if possible.]

Acceptance Criteria

When the Style Editor schema of a Content Type is created or updated, the action must strictly affect only the Style Editor schema. The assigned workflow for the Content Type must remain intact and not be deleted or unassigned. No other unintended side effects should occur on any other Content Type configurations, specifically workflows.

dotCMS Version

latest

Severity

High - Major functionality broken

Links

https://dotcms.slack.com/archives/C089DJ48C01/p1778859252464499

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Bug.

    Projects

    Status

    New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions