http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8180
--- Comment #9 from Dobrica Pavlinusic <[email protected]> --- I probably forgot to say that you SHOULD NOT enter barcode using plugin, but to leave it empty to trigger code path which this bug fixes. If you already have barcode or you fill it in using plugin it will not show up. Jonathan, could you please insert warn inside sub _increment_barcode to verify which framework gets passed like this: my ($tagfield,$tagsubfield) = &GetMarcFromKohaField("items.barcode",$frameworkcode); warn "## $frameworkcode $tagfield $tagsubfield"; unless ($record->field($tagfield)->subfield($tagsubfield)) { # triggers bug } In my case this warn produce "LIB 952 p" which is consistent with our configuration: mysql> select variable,value from systempreferences where variable = 'autoBarcode' ; +-------------+-------------+ | variable | value | +-------------+-------------+ | autoBarcode | incremental | +-------------+-------------+ mysql> select kohafield, frameworkcode, tagfield, tagsubfield from marc_subfield_structure where kohafield='items.barcode' and frameworkcode='LIB' ; +---------------+---------------+----------+-------------+ | kohafield | frameworkcode | tagfield | tagsubfield | +---------------+---------------+----------+-------------+ | items.barcode | LIB | 952 | p | +---------------+---------------+----------+-------------+ -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
