Error parsing name file if format test - name of the file - tag.pdf
Author: ahyearCreated Dec 23, 2018Updated Jan 13, 2021
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
Source: the-paperless-project/paperless