[Koha-bugs] [Bug 13084] Prevent mixup of columns in deletedborrowers

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 16 08:59:51 CEST 2014


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

--- Comment #12 from M. de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 32395
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=32395&action=edit
Bug 13084: Mixup of columns in deletedborrowers (MASTER)

I could reproduce this problem in 3.14.4 where I wrote the patch.
Fields shifted like branchcode moved to B_phone.
Could not reproduce it for master.
But this code change seems to improve things on master too.

TEST PLAN
---------
1) Alter the order of your deletedborrowers table.
   e.g. alter table deletedborrowers change column privacy privacy int(11)
after city;
2) Apply the 3.14.x test patch.
3) prove -v t/db_dependent/Members.t
   -- Will fail on the new test.
4) Apply the 3.14.x code change patch.
5) prove -v t/db_dependent/Members.t
   -- Will succeed on the new test.
6) run koha qa test tools.

Signed-off-by: Mark Tompsett <mtompset at hotmail.com>

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


More information about the Koha-bugs mailing list