Menu

#15 Uploading Excel spreadsheet - Samples in double

open
nobody
Interface (6)
7
2009-07-10
2009-07-10
No

Uploading and excel spreadsheet may take a while (sometimes more than 15 minutes). I have seen users that, thinking it's not working, do the upload again while the first upload wasn't finished. It causes the shipment to have the containers and samples twice... Note that if the user does a third upload (after the 2 first ones are finished), everything is fine (previous samples are deleted and final samples will be unique).

Proposed solutions:
- speedup the file upload
- put a lock (in the shipment record in the database) on the file upload but we must be careful: if the upload crashes, the lock will prevent the user from doing another file upload on this shipment (forever). Not recommended...
- put a flag (like the lock above) that just tells the user: "Warning: another upload seems to be running for that shipment and you may have samples in double. Do you want to continue?"

Discussion


Log in to post a comment.

MongoDB Logo MongoDB