Bug 22721 added use C4::Biblio in cataloguing/value_builder/barcode.pl. This is missing in value builder barcode_manual.pl. You get the error : Undefined subroutine &Koha::FrameworkPlugin::GetMarcFromKohaField called at cataloguing/value_builder/barcode_manual.pl line 41.
Created attachment 97857 [details] [review] Bug 24503: fix missing use in value builder barcode_manual.pl Bug 22721 added use C4::Biblio in cataloguing/value_builder/barcode.pl. This is missing in value builder barcode_manual.pl. You get the error : Undefined subroutine &Koha::FrameworkPlugin::GetMarcFromKohaField called at cataloguing/value_builder/barcode_manual.pl line 41. Test plan : 1) Configure a subfield of item to use value builder barcode_manual.pl 2) Go to a record 3) Try to add a new item 4) Check the value builder is OK
Looking here
Created attachment 97861 [details] [review] Bug 24503: fix missing use in value builder barcode_manual.pl Bug 22721 added use C4::Biblio in cataloguing/value_builder/barcode.pl. This is missing in value builder barcode_manual.pl. You get the error : Undefined subroutine &Koha::FrameworkPlugin::GetMarcFromKohaField called at cataloguing/value_builder/barcode_manual.pl line 41. Test plan : 1) Configure a subfield of item to use value builder barcode_manual.pl 2) Go to a record 3) Try to add a new item 4) Check the value builder is OK Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Tested with autobarcode==year-0001,0002 No internal server error, but generates a barcode now.
Trivial fix. Tested the interface. Combining SO+QA
Nice work everyone! Pushed to master for 20.05
Pushed to 19.11.x branch for 19.11.03
missing dependency for 19.05.x, no backport