Open pronguen opened 2 years ago
Discussion during grooming:
It seems that has been fixed by other packages. To fix existing:
doc = DocumentRecord.get_record_by_pid('xxx')
doc.sync_files(list(doc.files)[0])
Reopening this issue with a better description of a way to consistently reproduce.
Problem
Editing a document/file can break the link to a file if it contains certain characters.
How to reproduce
Expected behaviour
Even if a file has special characters, editing or reindexing should not break the ability to access this file.