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

deeterhtrn’s picture

Firebug Error:

missing ) in parenthetical
[Break on this error] ({ "status": false, "data": "Adding to a...us": true, "data": "Duplicate found" });
drupal.js (line 131)

deeterhtrn’s picture

I 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.

deeterhtrn’s picture

Title: Duplicate entry found for Error » Duplicate entry found Error
geoff_eagles’s picture

Many 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.

geoff_eagles’s picture

Status: Active » Closed (fixed)

Fix has been released

robotjox’s picture

Version: 5.x-3.4 » 5.x-4.0
Status: Closed (fixed) » Active

Sorry 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.

robotjox’s picture

I 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 :)

geoff_eagles’s picture

Morten,

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

rooey’s picture

Version: 5.x-4.0 » 5.x-4.2
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.