[Koha-bugs] [Bug 15607] Batch patron modification: Data loss of 'dateenrolled' and 'expirydate' fields

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 20 09:51:11 CET 2016


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15607

--- Comment #4 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 46980
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=46980&action=edit
Bug 15607: batch patron mod - do not update dates if not given

Bug 15332 fixed a bug but introduced a bigger one. Even if dateenrolled and
dateexpiry are not modified, they will be updated to today.
Indeed, dt_from_string returns today without parameters.

Test plan:
- Set dateenrolled and expirydate for a patron
- Using the batch patron mod tool, update any field but dateenrolled and
expirydate.
=> Without this patch, the 2 date fields should be set to today
=> With this patch applied, the 2 date fields should not have been
modified.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list