bug 23329 makes sure that we only track/forward links if they are in a biblio - really, if we aren't tracking there is no reason to offer forwarding at at all.
Created attachment 94376 [details] [review] Bug 23836: Don't forward form tracklinks if not tracking
Created attachment 94872 [details] [review] Bug 23836: Don't forward form tracklinks if not tracking Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Created attachment 94873 [details] [review] Bug 23836: exit after output_error Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Looks like Koha::Linktracker->new should return undef if the pref is not set, but... TODO LATER.
Created attachment 94935 [details] [review] Bug 23836: Don't forward form tracklinks if not tracking Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Created attachment 94936 [details] [review] Bug 23836: exit after output_error Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
this is applied to the 18.11.x security branch for 18.11.11
Nice work! Pushed to master for 19.11.00
We were pretty bad here guys, tests have not been adjusted.