Closed Bug 1029056 Opened 11 years ago Closed 11 years ago

Validate coorganizer usernames when adding them

Categories

(Webmaker Graveyard :: Events, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: cade, Assigned: cade)

References

Details

(Whiteboard: [events-mentor] [june27] [events])

Attachments

(1 file)

STR: 1. Add a fake username to be a coorganizer on an event you can edit 2. save Expected: some kind of notification of a problem "That username doesn't exist!" Actual: nothing happens. error logged in developer console. Lets implement some error handling
Blocks: 1029023
Assignee: nobody → cade
Status: NEW → ASSIGNED
Summary: Coorganizer requests can fail silently → Validate coorganizer usernames when adding them
Adds a usernameService for checking if a username exists. The service is added to the event form controller, and is used before a coorganizer username is added to the list of coorganizers.
Attachment #8444673 - Flags: review?(kate)
Comment on attachment 8444673 [details] [review] https://github.com/mozilla/webmaker-events-2/pull/105 I think it'd be better to do the validation live
Attachment #8444673 - Flags: review?(kate) → review-
Comment on attachment 8444673 [details] [review] https://github.com/mozilla/webmaker-events-2/pull/105 It appears that angular's debounce functionality for model updating isn't working..
Attachment #8444673 - Flags: review- → review?(kate)
Commit pushed to master at https://github.com/mozilla/webmaker-events-2 https://github.com/mozilla/webmaker-events-2/commit/506236944b7d97f4093b4cc15db98c74dc7bc7c6 Bug 1029056 - Add usernameService for checking if a username exists for a requested coorganizer
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: