[Koha] Unexpected behaviour 942 $h (3.18)
Elaine Bradtke
eb at efdss.org
Fri Jan 23 15:30:26 NZDT 2015
I am a bit embarrassed.
After discussing this problem with my IT wizard who actually looked at
callnumber.pl and understood it's inner workings, I know where the unwanted
numbers are coming from. Many of our call numbers consist of nothing more
than two upper case letters, for example QM. The plugin is looking at that
and seeing a prefix and adding sequential numbers to create a unique call
number. Our numbers are not unique.
Perhaps a brief explanation of what this plugin is meant to do would be a
useful addition to the manual?
As I understand it, the plugin looks for any number of or combination of
upper case letters, and/or punctuation.
It treats that information as a prefix, chooses the largest number assigned
to this prefix, and adds one to it. If there is no number it adds a space
and a number 1 to the end.
For example If I type in M, it looks for all the Ms in the call number
field, finds the one with the highest number and then adds the next number
in the sequence (for example M 123 exists, so it will make this one M 124).
Unfortunately that won't work with our system. But at least I know I'm not
going mad.
On Thu, Jan 22, 2015 at 6:52 PM, Elaine Bradtke <eb at efdss.org> wrote:
> With the plugin callnumber.pl activated in 942 $h and 952$o :
> the 1 appears after the call number in 942 $h as it is being saved as
> described above. But, it vanishes again - it does not appear in the MARC
> after saving. The 952$o is populated automatically with the information
> from 942 h.
>
> With the plugin enabled in $942 h, after editing the field if I click on
> the editing box to the right of the 942 h (this is only there when the
> plugin is activated) - it inserts the 1
> My original aim for activating the plugin in the 942 h was to pull the
> call number from our 099 field. But it doesn't do that, and it has to be
> manually input. However if I disable the plugin in 942 and enable it in
> 952, it will pull the information directly from the 099 field to 952 o. But
> if you edit an existing item's 952 o, it adds the 1.
>
> Note: our callnumbers are not unique. I wonder if this is part of the
> problem? I was just looking at
> http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13364 when it
> dawned on me that the plugin might be built with the assumption that full
> callnumbers would be unique.
>
> At any rate the plugin's behaviour seems contrary to (at least my)
> expectations. Perhaps I should file a bug report, once I figure out how to
> describe it. I am not the techie on the team ;-)
> Maybe someone who really understands how it works could explain what it
> does and does not do?
> Elaine
>
> On Thu, Jan 22, 2015 at 1:50 AM, Bob Birchall <bob at calyx.net.au> wrote:
>
>> Then shouldn't the plugin be activated in 952$o, not in 942$h? Can you
>> check if it is used in 952$o also?
>> Bob
>>
>>
>> On 22/01/15 11:37, Elaine Bradtke wrote:
>>
>> Bob, you may be on to something. If I remove the plugin, the problem
>> seems to stop. We use the plugin to auto populate the $o field in the item
>> record.
>>
>> I can't be sure, because of the intermittant nature of the problem, but
>> it seems to only happen if you edit the 942$h
>>
>> On Thu, Jan 22, 2015 at 12:05 AM, Bob Birchall <bob at calyx.net.au> wrote:
>>
>>> Hi Elaine, I see there that at 942$h you deploy a plugin: callnumber.pl
>>> Its not present in a default framework that I just checked.
>>>
>>> What happens if you remove that?
>>>
>>> Bob Birchall
>>> Calyx
>>>
>>>
>>> On 22/01/15 10:47, Elaine Bradtke wrote:
>>>
>>>> I can't seem to replicate the problem in Firefox. I'm thinking it
>>>> might be
>>>> a Chrome problem.
>>>>
>>>> On Wed, Jan 21, 2015 at 11:33 PM, Elaine Bradtke <eb at efdss.org> wrote:
>>>>
>>>> This is kind of messy, but it shows what our framework is set to for
>>>>> 942
>>>>>
>>>>> 0 Koha issues (borrowed), all copies Tab:9, | Koha field:
>>>>> biblioitems.totalissues, Not repeatable, Not mandatory, hidden,
>>>>> 2 Source of classification or shelving scheme Tab:9, | Koha field:
>>>>> biblioitems.cn_source, Not repeatable, Not mandatory, | Auth
>>>>> value:cn_source,
>>>>> 6 Koha normalized classification for sorting subfield ignored Edit
>>>>> Delete
>>>>> a Institution code [OBSOLETE] Tab:9, Not repeatable, Not mandatory,
>>>>> hidden, c Koha [default] item type Tab:9, | Koha field:
>>>>> biblioitems.itemtype, Not repeatable, Mandatory, | Auth
>>>>> value:itemtypes,
>>>>> e Edition Tab:9, Not repeatable, Not mandatory, hidden
>>>>> h Class mark Tab:9, | Koha field: biblioitems.cn_class, Not repeatable,
>>>>> Not mandatory, | Plugin:callnumber.pl
>>>>>
>>>>
>>> _______________________________________________
>>> Koha mailing list http://koha-community.org
>>> Koha at lists.katipo.co.nz
>>> http://lists.katipo.co.nz/mailman/listinfo/koha
>>>
>>
>>
>>
>> --
>> Elaine Bradtke
>> Data Wrangler
>> VWML
>> English Folk Dance and Song Society | http://www.efdss.org
>> Cecil Sharp House, 2 Regent's Park Road, London NW1 7AY
>> Tel +44 (0) 20 7485 2206 (This number is for the English Folk Dance
>> and Song Society in London, England. If you wish to phone me personally,
>> send an e-mail first. I work off site)
>> --------------------------------------------------------------------------
>> Registered Company No. 297142
>> Charity Registered in England and Wales No. 305999
>>
>> ---------------------------------------------------------------------------
>> "Writing about music is like dancing about architecture"
>> --Elvis Costello (Musician magazine No. 60 (October 1983), p. 52)
>>
>>
>> --
>> Bob Birchall
>> Director
>> Calyx Group Pty Limited
>>
>> Mob: 0414 796 988
>> Email: bob at calyx.net.au
>> Web: www.calyx.net.au
>>
>> Participating in the Koha Open ILS project:http://koha-community.org
>>
>>
>
>
> --
> Elaine Bradtke
> Data Wrangler
> VWML
> English Folk Dance and Song Society | http://www.efdss.org
> Cecil Sharp House, 2 Regent's Park Road, London NW1 7AY
> Tel +44 (0) 20 7485 2206 (This number is for the English Folk Dance
> and Song Society in London, England. If you wish to phone me personally,
> send an e-mail first. I work off site)
> --------------------------------------------------------------------------
> Registered Company No. 297142
> Charity Registered in England and Wales No. 305999
> ---------------------------------------------------------------------------
> "Writing about music is like dancing about architecture"
> --Elvis Costello (Musician magazine No. 60 (October 1983), p. 52)
>
--
Elaine Bradtke
Data Wrangler
VWML
English Folk Dance and Song Society | http://www.efdss.org
Cecil Sharp House, 2 Regent's Park Road, London NW1 7AY
Tel +44 (0) 20 7485 2206 (This number is for the English Folk Dance and
Song Society in London, England. If you wish to phone me personally, send
an e-mail first. I work off site)
--------------------------------------------------------------------------
Registered Company No. 297142
Charity Registered in England and Wales No. 305999
---------------------------------------------------------------------------
"Writing about music is like dancing about architecture"
--Elvis Costello (Musician magazine No. 60 (October 1983), p. 52)
More information about the Koha
mailing list