A couple of libraries so far have reported that they are unable to merge records through the Lists feature. They can create a list, add records to it, and select two records to merge without a problem, but when they get to the Merge Reference screen and click Next, they get logged out of koha and put back to the Login screen with an error. When logging back in, they get the error message "an unexpected number of records was provided for merging. Currently only two records at a time can be merged." They have only selected two records for merging but they still receive this message. We have tested this in 3.8 and master and in Chrome, Firefox and IE. It actually works in IE, but doesn't in FF or Chrome (the browsers we tell people to use for the staff client). It turns out this happens to users who have edit catalog and edit items permission but not fast cataloging permissions. You shouldn't need fast cataloging permissions to merge items, all it should require is edit catalog and edit items. Also, the error message is misleading since it's a permissions issue and not an issue with the number of items you're merging.
Created attachment 12634 [details] [review] Bug 8860 - can't merge if you don't have fast cataloging permissions
Created attachment 12646 [details] [review] [SIGNED-OFF] Bug 8860 - can't merge if you don't have fast cataloging permissions Signed-off-by: Owen Leonard <oleonard@myacpl.org>
(In reply to comment #0) > Also, the error message is misleading since it's a permissions issue and not > an issue with the number of items you're merging. By the way, the error message has nothing to do with the bug itself. The error message arises because after you're logged out and forced to log in again the merge operation has lost the original two records you asked to merge. That's why it complains about the number of items (which is 0)
(In reply to comment #2) > Created attachment 12646 [details] [review] > [SIGNED-OFF] Bug 8860 - can't merge if you don't have fast cataloging > permissions > > Signed-off-by: Owen Leonard <oleonard@myacpl.org> patch looks good, passing QA $ koha-qa.pl -c 1 testing 1 commit(s) (applied to commit 50be765) * f1691e0 Bug 8860 - can't merge if you don't have fast cataloging permissions cataloguing/merge_ajax.pl * cataloguing/merge_ajax.pl OK
Patch pushed to master
Pushed to 3.8.x will be in 3.8.12