Skip to content

Paste from clipboard on Block Grid not filtering allowed types #18177

Closed
@jveer

Description

@jveer

Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)

15.2.0-RC

Bug summary

When pasting a clipboard item on the Block Grid, it doesn't check for the allowed types (for example restricted by Allow i nroot, Allow in areas, or types set in the areas).

Specifics

No response

Steps to reproduce

These steps assume the content blocks have already been stored in the clipboard.

  1. Create a Block Grid with at least two element types.Image

  2. Set one of them to not be allowed in root.
    Image

  3. Go to the content page to add an element, note that it is correctly filtered on the types that are allowed on the root:
    Image

  4. When pasting from clipboard on the root, it allows all types that are added on the Block Grid, regardless of the check:
    Image

This also applies when element types are limited through the areas.

Expected result / actual result

Only allow adding element types from the clipboard, that are allowed at the location.


This item has been added to our backlog AB#49190

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions