[Koha] hourly loans doesn't know when library closed

amutsikiwa at uzlib.uz.ac.zw amutsikiwa at uzlib.uz.ac.zw
Sat Aug 9 01:30:37 NZST 2014


Hi 

 

Hope I find you well.  I know I should be posting to the list, but I am a
little bit on the desperate side. I  am running Koha 3.16.02 and I am
trying to  enable Koha to have opening and closing time functionality and
have been following the thread
http://bugs.koha-community.org/bugzilla3/attachment.cgi?bugid=8133
<http://bugs.koha-community.org/bugzilla3/attachment.cgi?bugid=8133&action=v
iewall&hide_obsolete=1> &action=viewall&hide_obsolete=1 . According to the
thread, as you indicated, the test plan involve 

 

1) Apply patch.
2) Update database.
3) Verify that the calendar administration interface still exists and
   works as expected.
4) Run t/Calendar.t and t/db_dependent/Calendar.t

 

I have applied the patch. I have manually created the openinghours table and
populated it accordingly.  However, the previous calendar administration is
not showing.  I have installed Template::Plugin::JavaScript.  I have run the
t/Calender.t using    perl /usr/local/koha-3.16.02/t/Calendar.t and is
giving me the following errors

 

 

not ok 23 - Test parameter order not relevant (Days)

#   Failed test 'Test parameter order not relevant (Days)'

#   at /usr/local/koha-3.16.02/t/Calendar.t line 244.

#          got: 1

#     expected: 40

ok 24 - Single day add (Calendar)

not ok 25 - Add 7 days (Calendar)

#   Failed test 'Add 7 days (Calendar)'

#   at /usr/local/koha-3.16.02/t/Calendar.t line 271.

#          got: '2012-09-27T11:53:00'

#     expected: '2012-08-01T11:53:00'

ok 26 - addDate skips closed Sunday (Calendar)

ok 27 - Negative call to addDate (Calendar)

not ok 28 - days_between calculates correctly (Calendar)

#   Failed test 'days_between calculates correctly (Calendar)'

#   at /usr/local/koha-3.16.02/t/Calendar.t line 281.

#          got: 0

#     expected: 40

not ok 29 - Test parameter order not relevant (Calendar)

#   Failed test 'Test parameter order not relevant (Calendar)'

#   at /usr/local/koha-3.16.02/t/Calendar.t line 284.

#          got: 1

#     expected: 40

ok 30 - Single day add (Days)

not ok 31 - Add 7 days (Days)

#   Failed test 'Add 7 days (Days)'

#   at /usr/local/koha-3.16.02/t/Calendar.t line 308.

#          got: '2012-09-26T11:53:00'

#     expected: '2012-07-30T11:53:00'

ok 32 - addDate doesn't skip closed Sunday (Days)

ok 33 - Negative call to addDate (Days)

not ok 34 - days_between calculates correctly (Days)

#   Failed test 'days_between calculates correctly (Days)'

#   at /usr/local/koha-3.16.02/t/Calendar.t line 320.

#          got: 0

#     expected: 40

not ok 35 - Test parameter order not relevant (Days)

#   Failed test 'Test parameter order not relevant (Days)'

#   at /usr/local/koha-3.16.02/t/Calendar.t line 323.

#          got: 1

#     expected: 40

# Looks like you failed 7 tests of 35.

 

 

I will appreciate it greatly if you can assist me here.  I run an academic
library and hourly items are in use.

 

 

Kind Regards,

 

Admire Mutsikiwa 

ICT Projects Manager

Libraries 

University of Zimbabwe

Tel:+263-4-303276

"It is easy to dodge our responsibilities, but we cannot dodge the
consequences of dodging our responsibilities."  Josiah Charles Stamp,
1880-1941, former director of the Bank of England 

 

 



More information about the Koha mailing list