`Metadata-only` label is shown to dashboard, although files are attached to the record
The label metadata-only
is shown to records that have files attached to them. See screenshot below.
This seems to be happening only on draft records with files. Once published, the label disappears. The label is shown correctly on actual metadata-only
records in both states (draft, published).