Phoca Download - Faulty behavior of 'reset downloads' function in control center
Posted: 18 Apr 2019, 12:39
Hello,
If a file does not exist anymore, when the counter is reset, the entry for this user still remains in the list.
Uploading multiple files that were deleted later results in a growing list of entries with the same username.
To reproduce this follow the steps below:
1. Upload a file (e.g. for userX)
2. Download this file (so the download counter for userX is incremented by 1)
3. Delete this file (because you probably don't want to keep it)
4. Go to control center -> downloads and select the entry 'userX'
5. Click 'Reset'
The result is as follows (after let's say 5 uploaded and then deleted files):
USER = userX, FILE = (), COUNT = 0
USER = userX, FILE = (), COUNT = 0
USER = userX, FILE = (), COUNT = 0
USER = userX, FILE = (), COUNT = 0
USER = userX, FILE = (), COUNT = 0
I would expect the entire entry / entries to be removed if an uploaded file no longer exists.
Regards Mike
If a file does not exist anymore, when the counter is reset, the entry for this user still remains in the list.
Uploading multiple files that were deleted later results in a growing list of entries with the same username.
To reproduce this follow the steps below:
1. Upload a file (e.g. for userX)
2. Download this file (so the download counter for userX is incremented by 1)
3. Delete this file (because you probably don't want to keep it)
4. Go to control center -> downloads and select the entry 'userX'
5. Click 'Reset'
The result is as follows (after let's say 5 uploaded and then deleted files):
USER = userX, FILE = (), COUNT = 0
USER = userX, FILE = (), COUNT = 0
USER = userX, FILE = (), COUNT = 0
USER = userX, FILE = (), COUNT = 0
USER = userX, FILE = (), COUNT = 0
I would expect the entire entry / entries to be removed if an uploaded file no longer exists.
Regards Mike