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

            Bug ID: 41706
           Summary: "Use of uninitialized value..." warning in
                    C4/Record.pm
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: OPAC
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

The warning:
[WARN] Use of uninitialized value $2 in split
    at /kohadevbox/koha/C4/Record.pm line 924.
appears in the plack-opac-error.log file.

To reproduce in KTD:
1. Observe plack-opac-error.log
2. In OPAC go to record with one word author like Aristophanes,
   Aristotle or Xenophon (biblionumbers: 64, 176, 254)
3. Show it in any of "detail" view (Normal, MARC, ISBD)
4. Warning appears in plack-opac-error.log

It happens during the preparation of data for the "Cite" feature 
in OPAC. The warning appears because of the overlap of two regular 
expression matches - the variable captured from the first regular 
expression match is changed (by the second regular expression match) 
before it is used.

-- 
You are receiving this mail because:
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