imTigger / webapp-hardware-bridge

Silent print and serial ports for web!
MIT License
139 stars 74 forks source link

Fix printing the same document when submitting two documents with the same name at (almost) the same time #57

Closed reneburghardt closed 3 months ago

reneburghardt commented 3 months ago

Issue

When a document with the same name as a document, which has been submitted for printing recently, is submitted and before the previous document with the same name was printed, the new document overwrites the older document. This leads to the printing of the same (newer) document twice, while the older document has never been printed.

Solution

Add document's UUID to the filepath.

imTigger commented 3 months ago

Thank you! I am planning a big 1.0 update. Will merge this into the last release of 0.x series.