mirror of
https://github.com/silverstripe/silverstripe-dms
synced 2024-10-22 12:05:56 +00:00
8d4b24b68d
This fix is quite ugly, but in theory, it's fine. By ugly, I mean the interface is kind of weird without it. Because 3.1 allows uploading when a DataObject doesn't exist, we need to override the new defaults to not allow such if the DO isn't saved yet.