[Koha-bugs] [Bug 25082] Unknown language code if 041 $a is linked to an authorized value list

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 5 11:01:27 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25082

--- Comment #17 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
Hm, I will have a go later.

- Apply the patch
- Edit a record, add
041 _ _ ‡adut‡axxx‡ager‡aita‡aspa‡beng
- Create a LANG AV xxx="description xxx"
- link 041$a with LANG

Correct.

- view record:
Language: , descriptionxxx, , , . Summary language: English. 

I'd have expected the codes to show here, but I wonder what is sent to the XSLT
in these cases. If the code that switches the code for the description in the
MARCXML record changes an unknown code to "", that would explain what you see
there.

- remove the AV
Language: , , , , . Summary language: English.

See above.

- remove the AV from $041$a
Language: Dutch, xxx, German, Italian, Spanish. Summary language: English. 

That's the expected display. xxx is not in the XSLT file (no valid language
code in MARC, so we display the code.

- Create a LANG AV xxx="description xxx"

Language: Dutch, xxx, German, Italian, Spanish. Summary language: English. 
(Hum??)

Now it's not linked to the framework, so it has no effect. Displays the same as
without the AV, this is expected.

- restart_all!

Language: Dutch, xxx, German, Italian, Spanish. Summary language: English. 
(Hum??)

Still expected.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list