Reviewed:  https://reviews.mahara.org/2516
Committed: 
http://gitorious.org/mahara/mahara/commit/0503ba11ee34af04a9d209d4d5506b4081f103f9
Submitter: Aaron Wells (aar...@catalyst.net.nz)
Branch:    1.6_STABLE

commit 0503ba11ee34af04a9d209d4d5506b4081f103f9
Author: Aaron Wells <aar...@catalyst.net.nz>
Date:   Thu Jun 27 23:47:29 2013 +1200

Stop empty resume birthdate from auto-filling to Jan 1, 1970

Bug1195269

Change-Id: Ia0652570c7fc495b34e04716a6b339956e5ff017

-- 
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

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to