https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40490 --- Comment #6 from Jonathan Druart <jonathan.druart@gmail.com> --- (In reply to David Cook from comment #5)
Looking at the code, I wonder if we could have used one of Test::Output's stderr_* methods here to check if STDERR was empty or had the error we expect in U24? But this should work fine.
I had a look at it last week (because there is already an occurrence of a similar problem, see bug 18772), but it's yet another dependency and so I decided to keep the STDERR redirect. But I wouldn't mind adjusting them if we have more occurrences coming.
I wonder how we'll know to undo this change when there's a newer version of GD::Barcode available? Would it be worth wrapping this in a GD::Barcode::VERSION check?
Yes, I thought about that (again for bug 18772) but didn't find an elegant solution. What do you mean by "wrapping in a version check"? Only the expected output or to let us know the STDERR redirect can be removed? -- You are receiving this mail because: You are watching all bug changes.