← Back to team overview

mahara-contributors team mailing list archive

[Bug 1252497] A change has been merged

 

Reviewed:  https://reviews.mahara.org/2807
Committed: http://gitorious.org/mahara/mahara/commit/ee47dc6cfd98e86b864db7b80ee3e2ac1e84b228
Submitter: Aaron Wells (aaronw@xxxxxxxxxxxxxxx)
Branch:    1.8_STABLE

commit ee47dc6cfd98e86b864db7b80ee3e2ac1e84b228
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Tue Nov 19 11:50:05 2013 +1300

Skin creation date was not being preserved on edit (Bug #1252497)

The creation date was being set to null on edit.
I've added code to preserve the creation date
- and to add new one (last modifed date) if a
skin does not have one (been edited before the patch applied)

Change-Id: I5b66a0ff7dbefde4c35315b4749f1295205cba99
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>

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

Title:
  editing a skin deletes the creation time from db

Status in Mahara ePortfolio:
  Fix Committed
Status in Mahara 1.8 series:
  Fix Committed
Status in Mahara 1.9 series:
  Fix Committed

Bug description:
  To test:

  1) Create a new skin 
  2) Look at the database:
  > SELECT id, ctime, mtime FROM skin;

  you should see the new skin you made containing both ctime and mtime
  values (which should be the same)

  3) Edit skin
  4) Look at the database again:
  > SELECT id, ctime, mtime FROM skin;

  you should see the new skin you made only containing the new mtime,
  the ctime is not NULL

  this should be fixed soon as data is being lost

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1252497/+subscriptions


References