[Koha-bugs] [Bug 9016] Multi transport types for notices

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Nov 8 13:45:07 CET 2013


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

--- Comment #20 from Jonathan Druart <jonathan.druart at biblibre.com> ---
(In reply to Olli-Antti Kivilahti from comment #19)
> DBD::mysql::db do failed: Cannot add or update a child row: a foreign key
> constraint fails (`kohadata`.`overduerules_transport_types`, CONSTRAINT
> `overduerules_fk` FOREIGN KEY (`branchcode`, `categorycode`) REFERENCES
> `overduerules` (`branchcode`, `categorycode`) ON DELETE CASCADE ON) at
> /home/kivilahtio/koha/kohaclone/t/db_dependent/Overdues.t line 23.

Yes, I forgot to insert the overdue rules. It will be fixed with a followup.

> at GetOverdueMessageTransportTypes()
> "return a arrayref with message_transport_type for given branchcode,
> categorycode and letternumber(1,2 or 3)"
> Should be 
> "return a arrayref with all message_transport_types for given branchcode,
> categorycode and letternumber(1,2 or 3)"

Will be fixed too.

> Should GetOverdueMessageTransportTypes() also take into account the default
> values? When library branch specific rules are not set then the function
> could return the default values instead?

No I don't think. It is the current behavior: if no specific rule is defined
for a library, no data is displayed on the interface when this library is
selected.

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


More information about the Koha-bugs mailing list