Adding the same potemplate twice causes system error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Invalid
|
Low
|
Carlos Perelló Marín |
Bug Description
If you +addpotemplate to a product series, press back and submit again, you get:
*
* Module canonical.
return self._cur.
IntegrityError: ERROR: duplicate key violates unique constraint "potemplate_
Changed in rosetta: | |
assignee: | nobody → carlos |
Changed in rosetta: | |
assignee: | carlos → nobody |
status: | New → Accepted |
Changed in rosetta: | |
assignee: | nobody → gabrielneuman |
Example URL:
https:/ /launchpad. net/products/ pmount/ +series/ main/+addpotemp late
Fixing this might just be a matter of using a more appropriate template name field, which can check for uniqueness appropriately, so that we can get an appropriate error.