unclecheese / KickAssets

The KickAssets module for SilverStripe is an alternative to AssetAdmin
http://www.leftandmain.com
40 stars 8 forks source link

Found the delete-folder-from-database bug #4

Closed jeremywarne closed 13 years ago

jeremywarne commented 13 years ago

Dragging a folder and then letting it go (without a valid drop target) attempted to move the folder into itself, causing an infinite loop and removing the folder and its contents from the SS file database. Checking if the source and destination are the same solves the problem.

unclecheese commented 13 years ago

Already nailed this one. Thanks, though!