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

            Bug ID: 42761
           Summary: Error when switching to Advanced editor after
                    importing Z39.50
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: 25.11
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Z39.50 / SRU / OpenSearch Servers
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

When we import using Z39.50 it opens in the basic editor. When we try to switch
to advanced a javascript alert pops up saying "The record cannot be transferred
to the advanced editor. Continue?". If we click on continue the record is
actually transferred to the advanced editor.

This happens ONLY when you click on the import from the z39.50 screen.

Looking at the code it is happening in addbiblio.tt on line 41-43 where 

   var breedingid = [% breedingid || "null" | html %];

            if ( !confirm( breedingid ? _("This record cannot be transferred to
the advanced editor. Continue?") : _("Any changes will not be saved.
Continue?") ) ) return false;

the breedingid exists here BUT will still transfer to the editor can we get
this logic fixed?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to