ArchivePermission allows duplicated rows
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Colin Watson |
Bug Description
This is fine until you come to delete one and you get a NotOneError.
Example:
launchpad_prod_3=# select * from archivepermission where packageset=109;
id | date_created | person | permission | archive | component | sourcepackagename | packageset | explicit
-----+-
769 | 2011-11-03 19:37:40.072146 | 3666300 | 1 | 1 | | | 109 | f
755 | 2011-10-13 14:45:10.404165 | 16139 | 1 | 1 | | | 109 | f
731 | 2011-10-13 14:45:10.404165 | 16139 | 1 | 1 | | | 109 | f
Related branches
- William Grant (community): Approve (code)
-
Diff: 99 lines (+53/-9)2 files modifiedlib/lp/soyuz/scripts/initialize_distroseries.py (+3/-5)
lib/lp/soyuz/scripts/tests/test_initialize_distroseries.py (+50/-4)
- William Grant (community): Approve (code)
-
Diff: 36 lines (+1/-3)3 files modifieddatabase/sampledata/current-dev.sql (+0/-1)
database/sampledata/current.sql (+0/-1)
lib/lp/soyuz/doc/archivepermission.txt (+1/-1)
Changed in launchpad: | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: packagesets |
tags: | added: soyuz-upload |
Changed in launchpad: | |
status: | Triaged → In Progress |
tags: |
added: qa-ok removed: qa-needstesting |
tags: |
added: qa-untestable removed: qa-needstesting |
Changed in launchpad: | |
status: | In Progress → Fix Released |
I've checked ubuntu/oneiric and ubuntu-leb/oneiric: no other duplication.