[Koha-bugs] [Bug 20080] Test for utf8mb4 encoding and collation

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 26 15:25:32 CET 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20080

--- Comment #6 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 70958
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=70958&action=edit
Bug 20080: Followup: corrected unless/if logic

Changed unless to if, because unless was the wrong logic.

TEST PLAN
---------
1) Run the following commands on a kohadev box:
    cd ~/qa-test-tools
    git pull
    git checkout -b bug_20080 origin/master
    git bz apply 20080

    cd ~/kohaclone
    git pull
    git checkout -b bug_20080 origin/master
    git bz apply 18336

2) Edit ~/kohaclone/installer/data/mysql/kohastructure.sql
   changing CHARSET and COLLATE on a table to just utf8, instead of
   the utf8mb variation it is.

3) Run the following commands:
    git add installer/data/mysql/kohastructure.sql
    git commit
   -- doesn't matter what the commit message is.

4) Run the following commands:
    kshell
    qa -v 2 -c 1
   -- this should fail with a collation problem.

5) Edit ~/kohaclone/installer/data/mysql/kohastructure.sql
   changing CHARSET and COLLATE on a table back to the utf8mb variation it was.

6) Run the following commands:
    kshell
    qa -v 2 -c 2
   -- this should pass

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