Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error "Duplicate_entry for uk_ecm_files" should not occur for files with the same basename. #17289

Closed
mdeweerd opened this issue Apr 16, 2021 · 4 comments
Labels
Bug This is a bug (something does not work as expected)

Comments

@mdeweerd
Copy link
Contributor

mdeweerd commented Apr 16, 2021

Bug

When uploading a png and a pdf with the same basename (example: BASENAME.png and BASENAME.pdf), an error notification appears ("Duplicate_entry ... for uk_ecm_files")

Environment

  • Version: 12.0.5
  • Web server: Apache/2.4.25 (Debian)
  • PHP: 7.4.13
  • URL(s): /fourn/facture/document.php

This images demonstrates the message:
image

Complément: le message "Error Duplicate entry 'fournisseur/facture/1/0/SI2103-1294-SI2103-1294-8127591763170753' for key 'uk_ecm_files'" s'affiche également en visitant la page des fichiers ajoutés, il n'apparaît pas seulement après le téléversement de fichiers.

@mdeweerd mdeweerd added the Bug This is a bug (something does not work as expected) label Apr 16, 2021
@eldy
Copy link
Member

eldy commented Apr 28, 2021

I have some reason to think this may be fixed into more recent version. Does this bug still occurs with last stable version ?
If not, can you close ticket ?
If yes, can you confirm the last stable version you reproduced the bug with ?

@mdeweerd
Copy link
Contributor Author

The bug report shows the version this was tested with "12.0.5" which is one of the latest stable versions (at least the latest one in the level 12.

I do not like upgrading to the highest version (13.0.2) that much.

In the online 13.0.2 demo version the issue does not appear.

I close the ticket because you seem to believe this is fixed in the last stable, which must be 13.0.2 and because it does not occur on the demo platform.
If I run into this again, I can reopen the ticket.

@catmaps
Copy link

catmaps commented Jan 5, 2022

We got a similar problem in version 14.03. It gives this message:

Error Duplicate entry 'bank/checkdeposits/CHK2101-001-bordereau-CHK2101-0001.pdf-1 for key 'uk_ecm_files'

@centoasa
Copy link

same issue still remain on latest release 19.02

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is a bug (something does not work as expected)
Projects
None yet
Development

No branches or pull requests

4 participants