Ticket #29 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Deleting a Collection Deletes the Entire Images Directory

Reported by: anonymous Owned by: anti
Priority: normal Milestone:
Component: Administration Version:
Severity: normal Keywords:
Cc:

Description

When you delete a collection, it deletes the entire image directory. Not good.

Change History

Changed 3 years ago by mike

For some reason I can't reproduce this error, but I did observe it happening once. Has anyone had this happen during their testing?

Changed 3 years ago by anti

  • component changed from general to admin

I just noticed that it is possible to create a collection with no name. And if that collection is subsequently deleted, then the whole images directory would indeed be wiped out.

Changed 3 years ago by anti

Empty names for albums and collections are no longer allowed - changeset [118] fixed that. Deletion code needs some safety checks as well - what if someone created an empty collection in an earlier version and tries to delete it?

Changed 3 years ago by anti

  • owner changed from mike to anti

Changed 3 years ago by anti

  • status changed from new to closed
  • resolution set to fixed

I believe that this is no longer possible

Note: See TracTickets for help on using tickets.