[Koha-bugs] [Bug 36122] New: NEW_SUGGESTION is sent for every modification to the suggestion
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Feb 16 20:47:44 CET 2024
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36122
Bug ID: 36122
Summary: NEW_SUGGESTION is sent for every modification to the
suggestion
Change sponsored?: ---
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Acquisitions
Assignee: koha-bugs at lists.koha-community.org
Reporter: caroline.cyr-la-rose at inlibro.com
QA Contact: testopia at bugs.koha-community.org
If EmailPurchaseSuggestions is enabled, a new NEW_SUGGESTION notice is sent to
the staff every time a modification is made to the suggestion.
Create the suggestion --> NEW_SUGGESTION is sent to staff
Accept the suggestion --> ACCEPTED is sent to patron; NEW_SUGGESTION is sent to
staff
Order the suggestion --> ORDERED is sent to patron; NEW_SUGGESTION is sent to
staff
To recreate:
1. Enable EmailPurchaseSuggestions
2. Create a suggestion from the OPAC
2.1. Go to the OPAC and log in as a patron
2.2. Go to Your account > Purchase suggestions
2.3. Click New purchase suggestion
2.4. Enter a title
2.5. Click Submit your suggestion
3. Check the message_queue, there should be one NEW_SUGGESTION message sent to
whichever address you chose in EmailPurchaseSuggestions (in a fresh db, there
should be 1 entry in message_queue)
4. Update the suggestion to accepted
4.1. In the staff interface, go to Acquisitions > Suggestions
4.2. In the suggestions list, check the box next to the suggestion
4.3. At the bottom of the screen, choose Mark selected as: Accepted
4.4. Click Submit
5. Check the message_queue again, there should be one ACCEPTED message sent to
the patron and a new NEW_SUGGESTION message sent to whichever address you chose
in EmailPurchaseSuggestions (in a fresh db, there should now be 3 entries in
message_queue)
6. Order the suggestion
3.1. Go to Acquisitions
3.2. Search for a vendor
3.3. Click New > Basket
3.4. Enter a basket name
(Optional: for testing I like to change Create items when: cataloging the
record)
3.5. Click Save
3.6. Click Add to basket
3.7. Click From a suggestion
3.8. Click Order next to the suggestion
3.9. Enter order details
3.10. Click Save
3.11. Click Close basket
3.12. Click Yes, close
7. Check the message_queue again, there should be one ORDERED message sent to
the patron and a new NEW_SUGGESTION message sent to whichever address you chose
in EmailPurchaseSuggestions (in a fresh db, there should now be 5 entries in
message_queue)
--
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