[BitBucket user: Sébastien Jodogne] [BitBucket date: 2015-09-08.12:55:33] Reported by andycrabb, Feb 28, 2015 as issue 28 on Google Code **What steps will reproduce the problem?** 1. Drag and drop files onto 'Upload DICOM files' screen 2. Cancel out of login dialog **What is the expected output? What do you see instead?** All files to be uploaded are listed twice. And you have to cancel out of the 'Authentication Required' dialog box for each file, if you don't successfully log in. **What version of the product are you using? On what operating system?** Orthanc 0.8.6 on Linux (Amazon AMI)
[BitBucket user: Sébastien Jodogne] [BitBucket date: 2015-09-08.12:56:45] *Comment by mp.zwiers on Apr 27, 2015* I've also seen this duplicative list behaviour. Reloading (refreshing) the page (sometimes twice) can make the problem go away
[BitBucket user: Alain Mazy] [BitBucket date: 2019-01-10.10:20:57] Just added a log to try to debug the "twice listed" issue and I've not been able to reproduce it afterwards. So let's keep the log... https://hg.orthanc-server.com/orthanc/changeset/b311cff247cab5a370fd1f88150fec1ec56469d9
[BitBucket user: Alain Mazy] [BitBucket date: 2019-01-24.09:23:48] I've captured the bug while doing something else (will look later): ![Capture.PNG](1918679651-Capture.PNG) So, this means that the `fileuploaddrop` event is fired twice with the same content (1 file in this case) And it seems that the event is triggered twice at very high level (from jquery) because I passed 2 times in this code: ![Capture.PNG](2741110632-Capture.PNG) So I've added a log to detect if the event is being registered twice: https://hg.orthanc-server.com/orthanc/changeset/4cfed5c2eacd850db5654f46dbb0f8192d07c781
Created attachment 102 [details] 1918679651-Capture.PNG
Created attachment 103 [details] 2741110632-Capture.PNG