Forums | Mahara Community

Support /
Date of Birth field not updated


Patric Lougheed's profile picture
Posts: 97

22 September 2013, 7:23

Hello all,

On my site I have had reports that the date of birth field in Resume cannot be updated or removed once initially set. I have reproduced this issue and was surprised to find that if I go back to remove the date it inserts 1969/12/31 as the default date. 

Does this happen to anyone else?

I am running in recommended LAMP enviroment with Postegres and have latest 1.7 build installed.

Don Presant's profile picture
Posts: 255

22 September 2013, 9:33

Did you check "locked fields" in the Edit Institution menu? Possibly a simple fix?

http://manual.mahara.org/en/1.7/administration/institutions.html

Patric Lougheed's profile picture
Posts: 97

22 September 2013, 12:33

Thanks for the suggestion Don.

But I checked and there are no locked fields and Date of Birth is not even one of the choice.. 

Kristina Hoeppner's profile picture
Posts: 4717

22 September 2013, 22:20

Hello Patric,

I checked the bug tracker and the issue was fixed for Mahara 1.8, but not yet for older versions. See https://bugs.launchpad.net/mahara/+bug/1195269 You can find the patch for master at https://reviews.mahara.org/2297 and could backport it to your version of Mahara. We are in the finalizing steps for the Mahara 1.8 Release Candidate and will therefore most likely not get to fixing this issue for an existing version of Mahara immediately.

Cheers

Kristina

 

Patric Lougheed's profile picture
Posts: 97

23 September 2013, 5:12

Thanks very much for this information. 

I have patched my site and now it works great!

Looking forward to 1.8.

Aaron Wells's profile picture
Posts: 896

23 September 2013, 10:32

I've gone ahead and backported that fix to Mahara 1.5, 1.6, and 1.7 as well, so it should be included in those ones in the next minor version release.

Cheers,

Aaron

Ian Smith's profile picture
Posts: 1

10 September 2016, 13:35

Three years later, I have a user that is reporting issues with the birth date field not updating.  I cannot replicate it on my own accounts.  But I have confirmed the issue by logging in with this user's profile that she is unable to change her birth date to the correct date.

She made a mistake the first time; off by one day.  She went back to correct it and it won't update to the correct day.  If I select a different date the field will update but not to the date that I chose.  

This is the only user that has reported this issue.

Is this a code issue or a hosting issue do you think?

We're using 16.04.2.

I'm just an administrator, not the host for our instance.  If more info about php and db versions, I can get that.

Aaron Wells's profile picture
Posts: 896

12 September 2016, 15:02

Hi Ian,

No matter what date you try to change it to, it won't work? What about if you change your own birthday to the same as hers? Do you then experience the same problem?

Without more details it's impossible to say whether it's a Mahara core bug or a platform-specific bug (or a host configuration issue). Date handling code does seem to be particularly prone to quirks in the host operating system, though, so I would not be surprised if that's the cause, particularly if your webserver is running on a less common operating system. (See for instance: https://bugs.launchpad.net/mahara/+bug/1451328 )

Another thing to ask your host admins for, is whether they see any error messages relating to this in the PHP/Apache error logs.

Good luck!

Aaron

 

8 results