Creating a new distribution series with a space in its name causes an IntegrityError but no OOPS

Bug #153955 reported by Christian Reis
2
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://launchpad.dev/ubuntu/+addseries
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
Celso Providelo (cprov)
affects: soyuz → launchpad-registry
Curtis Hovey (sinzui)
Changed in launchpad-registry:
importance: Undecided → Low
status: Confirmed → Triaged
Curtis Hovey (sinzui)
tags: removed: trivial
Revision history for this message
Curtis Hovey (sinzui) wrote :

This was not a trivial fix because the view needed to be updated to LaunchpadFormView to test.

Changed in launchpad-registry:
assignee: nobody → Curtis Hovey (sinzui)
status: Triaged → In Progress
milestone: none → 2.2.6
Revision history for this message
Curtis Hovey (sinzui) wrote :

Fix commited in launchpad devel r8625.

Changed in launchpad-registry:
status: In Progress → Fix Committed
Revision history for this message
Curtis Hovey (sinzui) wrote : Bug 153955 Fix released

Fixed released in Launchpad 2.2.6.

Changed in launchpad-registry:
status: Fix Committed → Fix Released
Curtis Hovey (sinzui)
Changed in launchpad:
assignee: Curtis Hovey (sinzui) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.