Bug 16725 - Link sent in SHARE_INVITE message yields software error when a private list is shared.
Summary: Link sent in SHARE_INVITE message yields software error when a private list i...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Notices (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-13 17:16 UTC by Barton Chittenden
Modified: 2016-06-13 17:33 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Barton Chittenden 2016-06-13 17:16:21 UTC
To re-create:

Choose two koha accounts -- I'll call them SENDER and RECEIVER. 
Make sure that RECEIVER has your email address. 
Make sure that SHARE_INVITE letter is defined for email, and contains the string <<shareurl>>

1/ Log in to the opac as user SENDER
2/ Click on 'your lists' in left menu bar
3/ Create a private list
4/ Click 'edit'
5/ Make sure that permissions for 'anyone else to add entries.', 'anyone to remove their own contributed entries.', 'anyone to remove other contributed entries.' are all set to 'Allow' (I'm not sure that this is necessary, but it's in the steps that I got from the library)
6/ Click 'Save'
7/ Click 'Share'
8/ Add the email address for RECEIVER
9/ Click 'Send'

Check your email (if your test environment sends email ) or search message_queue for last entry with your email address.

Navigate to the link generated by <<shareurl>> You will get a software error.
Comment 1 Barton Chittenden 2016-06-13 17:20:42 UTC
Notes found during trouble-shooting:

borrowernumber is NULL in both message_queue and virtualshelfshares. I suspect that a borrowernumber must be present for private shares, but the link isn't being made  between the email provided and the borrower account, but that's just a hunch.