Creating a new distribution series with a space in its name causes an IntegrityError but no OOPS
Bug #153955 reported by
Christian Reis
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Low
|
Unassigned |
Bug Description
Creating a new distribution series with a space in its name causes an IntegrityError but no OOPS.
Steps to reproduce:
1. http://
2. Fill in name a 'foo '
3. Fill in all required fields
4. Click Add
5. OOPS-656EA87 IntegrityError: ERROR: new row for relation "distrorelease" violates check constraint "valid_name"
Chaging the IDistroSeries.name attribute to a StrippedTextLine would likely fix this problem.
This is an specific instance of the more general bug 44197
Changed in soyuz: | |
status: | New → Confirmed |
description: | updated |
description: | updated |
affects: | soyuz → launchpad-registry |
Changed in launchpad-registry: | |
importance: | Undecided → Low |
status: | Confirmed → Triaged |
tags: | removed: trivial |
Changed in launchpad: | |
assignee: | Curtis Hovey (sinzui) → nobody |
To post a comment you must log in.
This was not a trivial fix because the view needed to be updated to LaunchpadFormView to test.