[Koha-bugs] [Bug 20687] New: Multiple invitations to share lists prevents some users from accepting

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 1 13:19:05 CEST 2018


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

            Bug ID: 20687
           Summary: Multiple invitations to share lists prevents some
                    users from accepting
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Lists
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: nick at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org
                CC: m.de.rooy at rijksmuseum.nl

To recreate:
1 - Create a private list in the opac
2 - Invite 2 patrons to the list
3 - Try to accept from the patron you first shared to
4 - You will get a failure message about expiration of the link

It seems we only get the latest invitation when trying to accept:

opac/opac-shareshelf.pl line 135:
    # We could have used ->find with the share id, but we don't want to change
    # the url sent to the patron
    my $shared_shelf = Koha::Virtualshelfshares->search(
        {
            shelfnumber => $param->{shelfnumber},
        },
        {
            order_by => { -desc => 'sharedate' },
            limit => 1,
        }
    );

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list