Closed (fixed)
Project:
DataBase File Manager
Version:
5.x-4.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Aug 2008 at 16:12 UTC
Updated:
5 Jan 2009 at 18:00 UTC
Error Message:
Duplicate entry found for -/dbfm/Geoff_Testing/Geoff_Testing_2/Big Java.doc/Big Java.doc- You may be using an unsupported browser
upload another file
Steps that produce this error:
1. Right click on a file and select the "Convert to revision" option and convert the file.
2. Right click on the file again and select "upload revision".
3. Select the file to be uploaded and select upload file.
Comments
Comment #1
deeterhtrn commentedFirebug Error:
missing ) in parenthetical
[Break on this error] ({ "status": false, "data": "Adding to a...us": true, "data": "Duplicate found" });
drupal.js (line 131)
Comment #2
deeterhtrn commentedI am also getting:
warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\www\htrn_drupal_2\modules\dbfm\dbfm.module:968) in C:\xampp\htdocs\www\htrn_drupal_2\includes\common.inc on line 141.
Error on the next page that I navigate to after I get the duplicate entry error.
Comment #3
deeterhtrn commentedComment #4
geoff_eagles commentedMany thanks for reporting this. The problem is in the module's ajax code. fnamechk wasn't working properly due to a missing exit(). All fixed now and in CVS. rooey should be making a release to include this, and a few other bug fixes, real soon.
Comment #5
geoff_eagles commentedFix has been released
Comment #6
robotjox commentedSorry for re-opening, but I still get this error, but only when right-clicking a revision directory and choosing "upload new revision".
However, If I upload an identically named file by clicking on the normal upload-icon a new revision is created in the proper way.
I am running the latest version.
Comment #7
robotjox commentedI gets weirder...
After a revision has been uploaded successfully by choosing the second method (using the normal upload icon) - the right-click method seems to be working again...
To sum up:
1. Upload file test.txt
2. Right click file and convert to revision
3. Right click conversion directory and choose upload revision
4. upload new revision of test.txt - "Duplicate entry found" error!
5. Instead click "upload file to filesystem" icon and upload new revision of test.txt.
6. It's working!
7. Right click conversion directory and choose upload revision
8. upload new revision of test.txt - it's working!!
Kinda hard to explain, but I hope it makes sense :)
Comment #8
geoff_eagles commentedMorten,
Sorry I've taken SO long to get back to you - I've been ill the past 3 weeks. Yep, I know all about the problem you describe - I believe I've fixed it but it hasn't been released yet. I would hope for a release probably later this week.
Geoff
Comment #9
rooey commented