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

            Bug ID: 44161
           Summary: Batch extend due dates: barcodes sent from a report
                    are not recognised when BarcodeSeparators has no
                    newline
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Tools
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
  Target Milestone: ---

>From a report that returns itemnumbers, Batch operations > Batch extend due
dates fills the field "Barcode list (one barcode per line)" with one barcode
per line. The tool splits the list only on the characters of the
BarcodeSeparators preference. The default value includes newlines, but a
library that restricted the preference to other separators, for example a
comma, gets every barcode treated as one single barcode and a "Barcodes not
found" warning. The same applies to a list typed one barcode per line, as the
label asks.

Test plan:
1. Set BarcodeSeparators to a comma only
2. Check out three items
3. Create a report that returns their itemnumbers, run it, choose Batch
operations > Batch extend due dates
   => The barcode list holds one barcode per line, click Continue with a number
of days
   => No checkout is listed and "Barcodes not found" is shown
4. Set BarcodeSeparators back to its default and repeat
   => The three checkouts are listed
Expected: a newline always separates barcodes in this tool, as its label says,
whatever BarcodeSeparators contains.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to