Opened 15 years ago
Last modified 15 years ago
#147 closed defect (FIXED)
Deleting slug doesn't give an error
| Reported by: | Jef van Schendel | Owned by: | Caleb Davis |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.0.4 |
| Component: | programming | Keywords: | |
| Cc: | Parent Tickets: |
Description
Right now, the slug is editable using the Edit form. That's great, but you can also empty the field and it will still accept it.
Instead, it should show you an error (correct me if I'm wrong here) saying something like "The slug can't be empty".
Note:
See TracTickets
for help on using tickets.

good catch! I added a required validator to the slug field with your suggested error message.
[https://gitorious.org/cfdv/mediagoblin/cfdvs-mediagoblin/commits/437_slug_shouldnt_be_empty](https://gitorious.org/cfdv/mediagoblin/cfdvs-mediagoblin/commits/437_slug_shouldnt_be_empty)