Skip to content

You can restore a deleted resource with an existing alias #14650

Open
@Ruslan-Aleev

Description

@Ruslan-Aleev

Bug report

Summary

If you have a deleted resource with a alias, for example, "test-alias", you can create a new resource with the same alias "test-alias". And then restore the deleted resource through the context menu or the manager of the deleted resources and you will receive in the tree 2 resources with the same aliases.

Expected behavior

I think when trying to restore a deleted resource with an existing alias, a window should appear with an error.

Environment

MODX 2.7>

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-corebugThe issue in the code or project, which should be addressed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions