User editor considers an empty username as valid

Bug #1246846 reported by Jeff Godin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Medium
Unassigned
2.4
Fix Released
Medium
Unassigned

Bug Description

This user editor issue may be Dojo's fault:

The "required" attribute on usrname doesn't seem to be enough to trigger a yellow/invalid indicator after initial load. If you add a valid value then remove the value, the field is empty but not yellow/invalid. Adding a "not empty" check to isValid helps, but why is it required? Possibly due to interaction with required vs isValid. Testing by adding an isValid function to the barcode widget seems to confirm this.

Working branch to follow.

Revision history for this message
Ben Shum (bshum) wrote :

Setting status to "in progress" as Jeff works on it.

Changed in evergreen:
status: New → In Progress
importance: Undecided → Medium
Revision history for this message
Jeff Godin (jgodin) wrote :
tags: added: pullrequest
Changed in evergreen:
assignee: Jeff Godin (jgodin) → nobody
Jeff Godin (jgodin)
Changed in evergreen:
milestone: none → 2.4.5
milestone: 2.4.5 → 2.5.2
milestone: 2.5.2 → 2.4.5
Jeff Godin (jgodin)
Changed in evergreen:
milestone: 2.4.5 → none
milestone: none → 2.5.2
no longer affects: evergreen/2.5
Revision history for this message
Ben Shum (bshum) wrote :

Asked Melissa to test this one out as practice for learning sign-off procedures. Working for us, we'll get it in later this week.

Changed in evergreen:
assignee: nobody → Melissa Ceraso (mceraso)
tags: added: bitesize
Revision history for this message
Melissa Ceraso (mceraso) wrote :

I tested this and it seems to work for us. My sign off is: user/mceraso/fix_lp1246846_blank_username

http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/mceraso/fix_lp1246846_blank_username

Changed in evergreen:
assignee: Melissa Ceraso (mceraso) → nobody
status: In Progress → Confirmed
Revision history for this message
Ben Shum (bshum) wrote :

Picked to master, rel_2_5 and rel_2_4.

Thanks Jeff for the fix and Melissa for testing.

Changed in evergreen:
status: Confirmed → Fix Committed
Ben Shum (bshum)
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.