DocManager
DocManager copied to clipboard
Document IDs not Tied to Title
Currently, changing the title of a document or other field used in the ID on pre-publication archive may result in creation of a second document on the public instance. The document ID should either be passed to the public instance (and constant) or a based on a non-user-changeable (but unique) field.
This would be fixed for uploaded documents as a side effect of changing IDs to hashes as per https://github.com/TransparencyToolkit/OCRServer/issues/1
It wouldn't be fixed for manually added entities though, so work here should probably focus on that.
This should be fixed for documents with https://github.com/TransparencyToolkit/DocManager/commit/3f27169e97d1df0f8a12f69aa11ba43be94d7008 and https://github.com/TransparencyToolkit/OCRServer/commit/a7255d9384f09e02de97572e5465fbffa2c21eea
It still needs to be fixed for user-added entities.