mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #13520
[Bug 1195269] Re: Resume "birthdate" field, if empty auto-fills to 1 Jan 1970
Backporting to previous affected versions:
1.5: https://reviews.mahara.org/2515
1.6: https://reviews.mahara.org/2516
1.7: https://reviews.mahara.org/2517
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1195269
Title:
Resume "birthdate" field, if empty auto-fills to 1 Jan 1970
Status in Mahara ePortfolio:
Fix Committed
Status in Mahara 1.5 series:
Fix Committed
Status in Mahara 1.6 series:
Fix Committed
Status in Mahara 1.8 series:
Fix Committed
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1195269/+subscriptions
References