https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15766 --- Comment #23 from Aleisha Amohia <aleisha@catalyst.net.nz> --- (In reply to Katrin Fischer from comment #22)
Hi Aleisha,
I am sorry, but I am still having the same troubles:
- No feedback on pushing the button - Errors in the logs for patron card creator:
Can't use string ("-2") as a HASH ref while "strict refs" in use at /home/vagrant/kohaclone/svc/creator_batches line 65. DBD::mysql::st execute failed: called with 4 bind variables when 5 are needed [for Statement "INSERT INTO creator_batches (batch_id, description, item_number, branch_code, creator) VALUES (?,?,?,?,?);" with ParamValues: 0=Null!, 1=Null!, 2=Null!, 3=Null!, 4=Null!] at /home/vagrant/kohaclone/C4/Creators/Batch.pm line 71. Database returned the following error on attempted INSERT: called with 4 bind variables when 5 are needed at /home/vagrant/kohaclone/C4/Creators/Batch.pm line 73.
and label creator, when trying to add an item to a batch:
WARNING: An error was encountered and item(s) not added to batch 1. Please have your system administrator check the error log for details.
Using kohadevbox, freshly reset database on master.
Oh I think I understand the issue - when you add a new batch, it doesn't get given a true ID until you add an item, and my patch needs an ID to attach a description to. I will add a follow up that hides the description field and button unless the batch has an ID. -- You are receiving this mail because: You are watching all bug changes.