Resume "birthdate" field, if empty auto-fills to 1 Jan 1970
Bug #1195269 reported by
Aaron Wells
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Aaron Wells | ||
1.5 |
Fix Released
|
Medium
|
Aaron Wells | ||
1.6 |
Fix Released
|
Medium
|
Aaron Wells |
Bug Description
To replicate:
1. Create a new user
2. Go to Content -> Resume -> Introduction
3. Fill in a "Place of birth" and leave all other fields empty.
4. Click "Save"
5. Navigate away from this page (for instance, by going to "Dashboard")
6. Navigate back to Content -> Resume -> Introduction
Expected Result: Because no birth date was filled in, the birthdate field should still be empty
Actual Result: the birth date field will show "Jan 1, 1970"
It would appear that what's going on here is that the field that displays it is interpreting the null value from the database as a 0, and so it's displaying the Unix 0 epoch as your birthdate.
Changed in mahara: | |
milestone: | none → 1.7.2 |
assignee: | nobody → Aaron Wells (u-aaronw) |
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Changed in mahara: | |
status: | Fix Released → Confirmed |
no longer affects: | mahara/1.7 |
Changed in mahara: | |
status: | Confirmed → Fix Committed |
Changed in mahara: | |
milestone: | 1.7.2 → 1.8.0 |
no longer affects: | mahara/1.8 |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Patch submitted to gerrit: https:/ /reviews. mahara. org/2297