Closed Bug 1049181 Opened 10 years ago Closed 10 years ago

Strip prefilled slugs of any invalid characters and show accurate error messages

Categories

(Marketplace Graveyard :: Curation Tools, defect)

x86
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: krupa.mozbugs, Assigned: spasovski)

References

()

Details

Attachments

(2 files)

steps to reproduce:
1. Load https://marketplace-dev.allizom.org/curate/create/collections
2. Add the name "doesn't match the mocks"
3. Notice that the same thing is prefilled in the slug
4. Add other required fields and click submit

expected behavior:
We strip the prefilled slug of any invalid characters
we show error messages are applicable to the field under question


actual behavior:
We don't sanitize prefilled slugs
The error message on form submissions says "App is invalid" which is not applicable here.
Assignee: nobody → dspasovski
https://github.com/mozilla/transonic/compare/a32fce0224c8...c3fdb13403a1
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
verified fixed at https://marketplace-dev.allizom.org/curate/manage/collections/hi-there-howdy
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: