http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7442

             Bug #: 7442
           Summary: Crash when selecting an authority with 200$x or 200$y
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: ASSIGNED
          Severity: minor
          Priority: P5 - low
         Component: Cataloging
        AssignedTo: adrien.sau...@biblibre.com
        ReportedBy: adrien.sau...@biblibre.com
         QAContact: ian.wa...@bywatersolutions.com


Created attachment 7133
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=7133
screenshot

>From a biblio record, if one wants to add a 600$a information, a pop-up
appears.

On this new window, on search terms typed and validated, a table result is
displayed, with a column "Get It!" allowing the selection of an authority.

>From here, different cases:
1) If we have a simple authority with 200$a and 200$b subfields, a link
"choose" is displayed, working correctly.

2) If the authority has different occurences of 200$a/200$b, numeric links (1 2
and so on) are displayed, one for each occurence.
In the example of my screenshot, the line with a "Paul, Korky -- Pauline,
Korkette" summary possesses two links : "1" will add "Paul, Korky" whereas "2"
will add "Pauline, Korkette" (couldn't come up with a better name ;)).

3) If the authority has 200$x or 200$y subfields defined, several links are
also created, when it should not be the case.
In our example, "Niclausse, Paul -- Expositions" will create a link "1" for
"Niclausse, Paul" and a link "2" for "Expositions".
Clicking on the 2nd link leads to the following error:
Software error:
Can't call method "subfields" on an undefined value at
/home/asaurat/workspace/versions/community/authorities/blinddetail-biblio-search.pl
line 86.


Only the cases 1 and 2 should be handled. The creation of links for subfields
like 200$x or 200$y should be removed.

-- 
Configure bugmail: 
http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://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