Uploading a file with the same name triggers a database constraint.
Bug #302449 reported by
Henning Eggers
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Данило Шеган |
Bug Description
To reproduce do the following.
1. Got to https:/
2. Go to https:/
-> OOPs
Traceback (most recent call last):
* Module zope.publisher.
publicati
* Module canonical.
raise Retry(exc_info)
Retry: duplicate key value violates unique constraint "translationimp
Related branches
lp:~danilo/launchpad/bug-302449
- Brad Crittenden (community): Approve (code)
-
Diff: 277 lines (+78/-56)7 files modifiedlib/lp/testing/factory.py (+14/-11)
lib/lp/translations/browser/potemplate.py (+4/-1)
lib/lp/translations/doc/sourcepackagerelease-translations.txt (+2/-2)
lib/lp/translations/model/translationimportqueue.py (+32/-34)
lib/lp/translations/tests/test_autoapproval.py (+7/-5)
lib/lp/translations/tests/test_translationimportqueue.py (+18/-0)
lib/lp/translations/utilities/tests/test_translation_importer.py (+1/-3)
Changed in rosetta: | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in launchpad: | |
assignee: | nobody → Данило Шеган (danilo) |
status: | Triaged → In Progress |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
According to henninge information, this is rather uncommon and should not be causing much trouble.
I'll watch the occurrence of the oopses, and let people know if something unusual happens.