Bug 13204: Plugin housekeeping: Remove labs_theses.pl plugin
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Mon, 20 Oct 2014 10:36:36 +0000 (12:36 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 15 Jan 2015 00:26:42 +0000 (21:26 -0300)
commit706e7a953e07b8c143a1308e45f6211aae18c6b7
tree8b8e9f95e2501da65993d86061f645f5a3b94fd4
parent0f406a840a09b381dc12a4e9704846b126b0c214
Bug 13204: Plugin housekeeping: Remove labs_theses.pl plugin

As it seems, this plugin has been created for UNIMARC field 328
(Dissertation note). It refers to authval category LABTHE.

The plugin seems however not to be used: it contains several critical errors.
I tried a quick fix but it was not good enough. Since the code can be
recovered from git (if needed), a real fix can always follow this patch.

What are some problems:
[1] The path to the template is wrong. Should be cataloguing/value_builder
[2] The plugin parameter $input is not used. A new CGI object is created.
[3] Resolving errors 1 and 2 still results in premature end of script
    headers.
[4] Not sure whether the plugin can effectively handle missing LABTHE values.

Instead of keeping this in Koha, I opt for removing it for now. As additional
argument I would mention that labs_theses does not have Focus or Blur actions,
only the Click action that does not work.

Test plan:
Git grep on labs_theses.

Signed-off-by: Frederic Demians <f.demians@tamil.fr>
This antique plugin deserves to live forever in Git Historical Museum.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
Small fix so the patch applies.
cataloguing/value_builder/labs_theses.pl [deleted file]
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/labs_theses.tt [deleted file]