Skip to content

ignore broken media entries

Charles Hall requested to merge charles/fix-media-deletion into main

File data is inserted into the database before being created on disk, which means that it's possible for data to exist in the database that doesn't exist on disk. In this case, the media deletion functions should simply ignore this error.

Also apparently sometimes the data in media keys is very broken, so we log and skip those during deletion.

Edited by Charles Hall

Merge request reports