[Koha-bugs] [Bug 21281] Label Template - Creation not working
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Sep 7 19:19:57 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21281
--- Comment #12 from M. Tompsett <mtompset at hotmail.com> ---
Michal Denar, this is what I would expect you to see.
Install a kohadevbox, vagrant up and then vagrant ssh.
Get into the kohaclone directory.
git checkout -b bug_21281 origin/master
And then the following output should be practically identical.
I did [SNIP] the excessive passing parts.
vagrant at kohadevbox:kohaclone(bug_21281)$ git reset --hard origin/master
HEAD is now at a9e859942c Bug 19550: (QA follow-up) Add missing [% USE %]
vagrant at kohadevbox:kohaclone(bug_21281)$ git bz apply 21281
Bug 21281 - Label Template - Creation not working
78292 - Bug 21281: Surround creator_templates.rows with backquotes
78449 - Bug 21281: Correct t/db_dependent/Creators/Lib.t failures
Apply? [(y)es, (n)o, (i)nteractive] i
[Comment out second line, so only first one applies]
Applying: Bug 21281: Surround creator_templates.rows with backquotes
vagrant at kohadevbox:kohaclone(bug_21281)$ kshell kohadev
kohadev-koha at kohadevbox:/home/vagrant/kohaclone$ prove -r -v
t/db_dependent/Creators/
t/db_dependent/Creators/Lib.t ..
1..645
ok 1 - use C4::Creators::Lib;
[SNIP]
ok 86 - creator is good
DBD::mysql::st execute failed: You have an error in your SQL syntax; check the
manual that corresponds to your MariaDB server version for the right syntax to
use near 'rows = '7'' at line 1 [for Statement "SELECT * FROM creator_templates
WHERE 1 AND rows = ? " with ParamValues: 0=7] at
/home/vagrant/kohaclone/C4/Creators/Lib.pm line 179.
Database returned the following error: You have an error in your SQL syntax;
check the manual that corresponds to your MariaDB server version for the right
syntax to use near 'rows = '7'' at line 1 at
/home/vagrant/kohaclone/C4/Creators/Lib.pm line 181.
ok 87 - There is 1 template matching
Can't use string ("-1") as an ARRAY ref while "strict refs" in use at
t/db_dependent/Creators/Lib.t line 376.
# Looks like your test exited with 11 just after 87.
Dubious, test returned 11 (wstat 2816, 0xb00)
Failed 558/645 subtests
Test Summary Report
-------------------
t/db_dependent/Creators/Lib.t (Wstat: 2816 Tests: 87 Failed: 0)
Non-zero exit status: 11
Parse errors: Bad plan. You planned 645 tests but ran 87.
Files=1, Tests=87, 2 wallclock secs ( 0.02 usr 0.01 sys + 1.06 cusr 0.33
csys = 1.42 CPU)
Result: FAIL
kohadev-koha at kohadevbox:/home/vagrant/kohaclone$ exit
exit
vagrant at kohadevbox:kohaclone(bug_21281)$ git bz apply 21281
Bug 21281 - Label Template - Creation not working
78292 - Bug 21281: Surround creator_templates.rows with backquotes
78449 - Bug 21281: Correct t/db_dependent/Creators/Lib.t failures
Apply? [(y)es, (n)o, (i)nteractive] i
[Comment out first one, so both will be applied]
Applying: Bug 21281: Correct t/db_dependent/Creators/Lib.t failures
vagrant at kohadevbox:kohaclone(bug_21281)$ kshell kohadev
kohadev-koha at kohadevbox:/home/vagrant/kohaclone$ prove -r -v
t/db_dependent/Creators/
t/db_dependent/Creators/Lib.t ..
1..645
ok 1 - use C4::Creators::Lib;
[SNIP]
ok 645 - categorycode is good
ok
All tests successful.
Files=1, Tests=645, 2 wallclock secs ( 0.06 usr 0.05 sys + 1.04 cusr 0.39
csys = 1.54 CPU)
Result: PASS
kohadev-koha at kohadevbox:/home/vagrant/kohaclone$
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list