Bug 25598 - Translated bibliographic framework blocked advanced editor
Summary: Translated bibliographic framework blocked advanced editor
Status: CLOSED WORKSFORME
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: 19.11
Hardware: All All
: P5 - low critical (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-25 07:26 UTC by Viliam
Modified: 2020-11-30 21:44 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Viliam 2020-05-25 07:26:13 UTC
if default bibliographic framework is translated then advanced editor is not working. You can switch advanced editor to enabled but you can't open advanced editor.
Comment 1 Katrin Fischer 2020-05-25 08:11:38 UTC
Hi Villam, I am not seeing issues with de-DE. Which language are you using? And what is the exact Koha version?
Are there any errors in the console of the browser?
Comment 2 Viliam 2020-05-25 08:15:49 UTC
I have KOHA 19.11. Tested on language SK, CZ, EN
Comment 3 Viliam 2020-05-25 08:17:13 UTC
Now tested on 18.11 and everything is OK
Comment 4 Viliam 2020-05-25 08:27:31 UTC
console log
TypeError: authvals[0] is undefined
makeAuthorisedValueWidgets http://localhost:81/cgi-bin/koha/cataloguing/editor.pl:1163
    each jQuery
    makeAuthorisedValueWidgets http://localhost:81/cgi-bin/koha/cataloguing/editor.pl:1158
    each jQuery
    makeAuthorisedValueWidgets http://localhost:81/cgi-bin/koha/cataloguing/editor.pl:1157
    <anonymous> http://localhost:81/cgi-bin/koha/cataloguing/editor.pl:2188
    jQuery 3
    <anonymous> http://localhost:81/cgi-bin/koha/cataloguing/editor.pl:1821
    execCb http://localhost:81/intranet-tmpl/lib/require_19.1105000.js:29
    check http://localhost:81/intranet-tmpl/lib/require_19.1105000.js:18
    enable http://localhost:81/intranet-tmpl/lib/require_19.1105000.js:23
    u http://localhost:81/intranet-tmpl/lib/require_19.1105000.js:8
    emit http://localhost:81/intranet-tmpl/lib/require_19.1105000.js:23
    y http://localhost:81/intranet-tmpl/lib/require_19.1105000.js:7
    emit http://localhost:81/intranet-tmpl/lib/require_19.1105000.js:23
    check http://localhost:81/intranet-tmpl/lib/require_19.1105000.js:19
    enable http://localhost:81/intranet-tmpl/lib/require_19.1105000.js:23
    u http://localhost:81/intranet-tmpl/lib/require_19.1105000.js:8
    emit http://localhost:81/intranet-tmpl/lib/require_19.1105000.js:23
    y http://localhost:81/intranet-tmpl/lib/require_19.1105000.js:7
    emit http://localhost:81/intranet-tmpl/lib/require_19.1105000.js:23
    check http://localhost:81/intranet-tmpl/lib/require_19.1105000.js:19
    enable http://localhost:81/intranet-tmpl/lib/require_19.1105000.js:23
    u http://localhost:81/intranet-tmpl/lib/require_19.1105000.js:8
    emit http://localhost:81/intranet-tmpl/lib/require_19.1105000.js:23
    y http://localhost:81/intranet-tmpl/lib/require_19.1105000.js:7
    emit http://localhost:81/intranet-tmpl/lib/require_19.1105000.js:23
    check http://localhost:81/intranet-tmpl/lib/require_19.1105000.js:19
    enable http://localhost:81/intranet-tmpl/lib/require_19.1105000.js:23
    u http://localhost:81/intranet-tmpl/lib/require_19.1105000.js:8
    emit http://localhost:81/intranet-tmpl/lib/require_19.1105000.js:23
    y http://localhost:81/intranet-tmpl/lib/require_19.1105000.js:7
    emit http://localhost:81/intranet-tmpl/lib/require_19.1105000.js:23
    check http://localhost:81/intranet-tmpl/lib/require_19.1105000.js:19
    enable http://localhost:81/intranet-tmpl/lib/require_19.1105000.js:23
    u http://localhost:81/intranet-tmpl/lib/require_19.1105000.js:8
    emit http://localhost:81/intranet-tmpl/lib/require_19.1105000.js:23
    y http://localhost:81/intranet-tmpl/lib/require_19.1105000.js:7
    emit http://localhost:81/intranet-tmpl/lib/require_19.1105000.js:23
    check http://localhost:81/intranet-tmpl/lib/require_19.1105000.js:19
    enable http://localhost:81/intranet-tmpl/lib/require_19.1105000.js:23
    init http://localhost:81/intranet-tmpl/lib/require_19.1105000.js:17
    D http://localhost:81/intranet-tmpl/lib/require_19.1105000.js:14
    completeLoad http://localhost:81/intranet-tmpl/lib/require_19.1105000.js:28
    onScriptLoad http://localhost:81/intranet-tmpl/lib/require_19.1105000.js:29
Comment 5 Jonathan Druart 2020-05-25 08:50:45 UTC
(In reply to Viliam from comment #2)
> I have KOHA 19.11. Tested on language SK, CZ, EN

Which exact version of 19.11? Did you try on master?

If you recreate on "EN", it means that it is broken when it's not translated as well, right?

My bet is that you have a subfield linked with a list of authorised values that does no longer exist.
Comment 6 Viliam 2020-05-25 08:58:35 UTC
19.11.05 and 19.11.01
I will check authorised values
Comment 7 Viliam 2020-05-25 09:42:15 UTC
Thanks Katrin
The problem was in authorised values.
Comment 8 Katrin Fischer 2020-05-25 10:24:16 UTC
Picking "WORKSFORME" as this turned out to be a configuration issue. Personally I like those better than real bugs :)