https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35971
Bug ID: 35971
Summary: Adding a patron/recipient to a routing list twice
creates an error
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Serials
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
If you try to add a patron or recipient twice to a routing list, it creates an
error.
To test:
1. Create a subscription
2. Create a routing list.
3. Click ‚Add recipients‘ to the routing list.
4. Search for a patron, and add them. Then, add the same person again.
Part of the error trace:
C4::Serials::addroutingmember(): DBI Exception: DBD::mysql::st execute failed:
Duplicate entry '2-19' for key 'subscriptionid' at
/kohadevbox/koha/serials/routing.pl line 69
at /usr/share/perl5/DBIx/Class/Exception.pm line 77
--
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]
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/