Problem/Motivation

When saving an unsupported entity type in a workspace, the exception message doesn't specify the entity type ID, which makes it hard to figure out the problem.

Steps to reproduce

Try to save an unsupported entity type in a workspace (for example using Paragraphs until this issue is fixed).

Proposed resolution

Update the exception message to mention the entity type that couldn't be saved in a workspace.

Remaining tasks

Review.

User interface changes

Nope.

Introduced terminology

N/A.

API changes

Nope.

Data model changes

Nope.

Release notes snippet

N/A.

Issue fork drupal-3491256

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

amateescu created an issue. See original summary.

amateescu’s picture

Status: Active » Needs review

I opened this as a bug because many people bump into this exception when trying out Workspaces.

plach’s picture

Status: Needs review » Reviewed & tested by the community

More info is usually better :)

amateescu’s picture

Title: Improve exception message for unsupported entity types in a workspace » Improve the exception message for unsupported entity types in a workspace

  • catch committed 2b63c15d on 11.x
    Issue #3491256 by amateescu: Improve the exception message for...

  • catch committed 464a9858 on 10.3.x
    Issue #3491256 by amateescu: Improve the exception message for...

  • catch committed 3f5c4fd9 on 10.4.x
    Issue #3491256 by amateescu: Improve the exception message for...

  • catch committed 0becd92a on 10.5.x
    Issue #3491256 by amateescu: Improve the exception message for...

  • catch committed 458241cf on 11.0.x
    Issue #3491256 by amateescu: Improve the exception message for...
catch’s picture

Version: 11.x-dev » 10.3.x-dev
Status: Reviewed & tested by the community » Fixed

Committed/pushed to 11.x and cherry-picked back through to 10.3.x, thanks!

  • catch committed da479cec on 11.1.x
    Issue #3491256 by amateescu: Improve the exception message for...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.