Skip to content

Having two folder with the same name create issue when reusing the media #25

@jdadeliom

Description

@jdadeliom

When creating a media, a folder is created.
If I want to create another media with another folder, I can't, because each folder slug must be unique.

Example :

pages/home/media1.jpg
home/media2.jpg

It will create a conflict as media2jpg will have a folder named home-2 for no conflict, but then the path is different from the slug

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions