paperless
paperless copied to clipboard
Error parsing name file if format test - name of the file - tag.pdf
a new issue appeared on email consuming process:
the email subject was like: test - name of the file - tag1,tag2
The file get in the consume directory but kills the docker consume when trying to parse it.
test - name of the file - tag1,tag2.pdf
the error is: documents.models.MultipleObjectsReturned: get() returned more than one Tag -- it returned 2!
No probleme when i test with a file named xxxx.pdf
Thank you for your help
In fact the log is safe explained when there is more than one tag it craches. Is there a way to fixe that?
Normally there can be more than one tag per doc...
stil the same issue.
If a doc il named 'test - name of the file - tag1,tag2.pdf' ore even 'test - name of the file - tag.pdf' it still crashes.
you need to rename it 'test - name of the file.pdf' in the comsume directory so it can pass...