[Koha-bugs] [Bug 4461] Context-sensitive report a problem screen

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jan 13 00:03:43 CET 2017


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

--- Comment #2 from Aleisha Amohia <aleishaamohia at hotmail.com> ---
Created attachment 58887
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=58887&action=edit
Bug 4461: Add a context-sensitive 'Report a Problem' feature to OPAC

This patch adds a 'Report a problem' link to the bottom of every page in
the OPAC. The user can choose to submit their report to the library or
Koha administrator. The report will store the user's problem message,
but also their username and the page they were on when they clicked the
'report a problem' link. The patch adds a table 'problem_reports' to the
db.

To test:
1) Apply patch, update database, rebuild schema
2) Restart koha-common and memcached
3) Confirm that your user has an email address.
4) Confirm that one of your libraries has an branch email address.
5) Confirm that the syspref KohaAdminEmailAddress has been filled out.
6) Log into OPAC
7) Click the 'Report a problem' link at the bottom of whatever page
you're on
8) First try submitting a problem to the library. Confirm that the
fields for 'Problem found on page' and 'Username' are correct, then fill
out the 'Subject' and 'Message' and click Submit.
9) Confirm a message shows at the top of the page to show success.
10) Go into mysql and display records from the message_queue table.
Confirm that the borrowernumber and subject are correct. Confirm that
content shows the message from the problem report, but also the user's
username and the problem page. Confirm that the to_address shows the
library's email address and the from_address shows the user's email
address.
11) Now try submitting a problem to the Koha Admin. Fill fields and
click Submit. Confirm message shows at top to show success again.
12) Check message_queue for new problem report. Confirm that the
to_address shows the email address from the syspref
KohaAdminEmailAddress.

Sponsored-by: Catalyst IT

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


More information about the Koha-bugs mailing list