[Koha-bugs] [Bug 35616] Add a 'source' field to Koha::Tickets to denote the path taken to report the ticket

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Dec 20 22:11:39 CET 2023


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

David Nind <david at davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |david at davidnind.com

--- Comment #17 from David Nind <david at davidnind.com> ---
Everything seems to work as expected - no changes noted.

One thing I noted (not related to this bug) in the OPAC: if you are not logged,
once you log in the report a concern the form doesn't include
CatalogConcernTemplate text. If you are already logged in, it has the text from
the CatalogConcernTemplate.

The test plan I used:

1. Apply patches

2. Update database: updatedatabase

3. Run DBIC: dbic

4. Enable system preferences: OpacCatalogConcerns and CatalogConcerns

5. Report a catalog concern from the OPAC:
   5.1 Search for a record and view the details page
   5.2 Click on the "Report a concern" link in the actions box on the
right-hand sidebar (under "Suggest for purchase")
   5.4 Add some information to the form (Title, information for each of the
headings) and click Submit
   5.5 Log out from the OPAC and click on the "Report a concern" link for a
record - you should be prompted to log in. After logging in, you are then
redirected back to the record page and the form is displayed to report a
concern.

6. Manage catalog concerns from the staff interface:
   6.1 From the staff interface, select the link in the block after the module
options (the "Call to action" area): where there are concerns, "Catalog
concerns pending: X" is displayed
   OR
   6.2 Go to Cataloging > Reports > Catalog concerns
   6.3 The concern(s) you entered in the OPAC should be listed
   6.4 Click on "Details" in the actions column
       ==> Ticket details displayed in a modal window
   6.5 Add some text in the update field for the concern, select the Notify
checkbox, and click on either the Resolve or Comment buttons.
   6.6 Check that the 'Hide resolve' or 'Show all' toggles work and display
concerns raised correctly based on status
   6.7 If Comment clicked, this will continue to be displayed in the list of
concerns
   6.8 Check that the filters for each column work as expected
   6.9 Testing notifications - see step 8.2

7. Report a catalog concern from the staff interface:
   7.1 Search for a record and view the details page
   7.2 Select New > New catalog concern
   7.3 Add some information to the form (information for each of the headings)
and click Confirm

8. Other things to test:

8.1 API: not sure what to test here (assuming you can add, update and resolve
tickets using the API if you know how...)
    . Enable the RESTPublicAPI system preference
    . Go to http://127.0.0.1:8080/api/v1/.html
    . Not that there are APIs for addTicket, addTicketPublic, addTicketUpdate,
deleteTicket, getTicket, listTicketUpdates, listTickets, and updateTicket

8.2 Notifications: 
    . There are four new notice templates: TICKET_ACKNOWLEDGE, TICKET_NOTIFY,
TICKET_RESOLVE, TICKET_UPDATE
    . [OPTIONAL] Set up KTD so that email can be sent (using a Gmail address
and an app password)
    . [OPTIONAL] Set up a patron with your Gmail email address
    . [OPTIONAL] Setup system preference CatalogerEmails with your Gmail email
address
    . Trigger the various notices and make sure they work as expected (should
be triggered if you followed the test plan):
      . TICKET_ACKNOWLEDGE: email to patron when they raise a concern
      . TICKET_NOTIFY: email to library staff when a concern is raised
      . TICKET_UPDATE: add an update to a concern
      . TICKET_RESOLVE: when concern marked as resolved
    . These notices should be viewable under the patron's Notices tab

8.3 Test a non-super librarian and set them up so that they can manage catalog
concerns. The minimum permissions are: catalogue (Staff access) and
editcatalogue (Edit catalog)
    . Log in as a non-super librarian with the minimum permissions
    . Check that they can view and manage catalog concerns

8.4 Table configuration: have some active catalog concerns, click configure,
hide status column by default, check that you can toggle the status column on
and off.

8.5 Customise the catalog concern help text and template:
   . Go to Tools > HTML customizations
   . Note that there are two entries available for editing: CatalogConcernHelp
and CatalogConcernTemplate
   . Make some edits to these entries
   . From the OPAC, report a concern for a record
   . The changes you made should be reflected in the report a concern form
   . [OPTIONAL] Test translation of HTML custizations

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


More information about the Koha-bugs mailing list