I have create a new site collection based on the records center template. In this site collection I have a records library "records" which has automatic record declaration turned on (so all files are records).
I uploaded some files to this library through the drop off library and content organizer rules and uploaded the files to folders (creation based on properties of the uploading file) inside this library.
Later I tried to delete the files in this folder and SharePoint told me that this is not possible as the file is a record. This is the expected behaviour and this is OK. But then I tried to delete the folder the file is in (one level up inside the records library) and I was able to delete the folder. So now the folder and the file(s) inside was gone. No exception or error message was shown. (Folder landed in the recycle bin and I am able to restore folder and file from there).
Is this some weird bug or is this the intended behaviour? After all the file inside is still a record and shouldn't get deleted. Or do I have to adjust some setting?