The attribute sha1 is always empty.
fa_storage_key contains the sha1 value and the file extension, maybe that breaks wfBaseConvert.
LocalRepo::cleanupDeletedBatch used "substr( $key, 0, strcspn( $key, '.' ) );" to get the sha1 value.
Thanks.
Version: 1.18.x
Severity: minor