Duplicate slugs on requested events

RESOLVED FIXED

Status

Webtools
Air Mozilla
P1
normal
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: peterbe, Unassigned)

Tracking

Trunk
x86
Mac OS X

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

4 years ago
It is possible to cause a `IntegrityError: duplicate key value violates unique constraint "main_suggestedevent_slug"` using the request wizard. 

I'm not entirely sure how to reproduce this but it's certainly possible. Possibly to do with editing it.
(Reporter)

Updated

4 years ago
Priority: -- → P1
Priority: P1 → P2
(Reporter)

Comment 1

4 years ago
Yay! I found a way to reproduce this. 

I already had an event called "New Event" on my requests page. 
Then I wanted to create a new one and typed in "New Event " (note the extra space after the 't') and that got me the hard error.
Priority: P2 → P1
(Reporter)

Comment 2

4 years ago
Solved as part of http://bugzilla.mozilla.org/show_bug.cgi?id=996279
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.