[Bug 43229] New: Purchase suggestions incorrectly promises an email confirmation for anonymous suggestions
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43229 Bug ID: 43229 Summary: Purchase suggestions incorrectly promises an email confirmation for anonymous suggestions Initiative type: --- Sponsorship --- status: Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: OPAC Assignee: oleonard@myacpl.org Reporter: lari.taskula@hypernova.fi QA Contact: testopia@bugs.koha-community.org Target Milestone: --- 1. Enable preference suggestion 2. Enable preference AnonSuggestions 3. Navigate to OPACBaseURL/cgi-bin/koha/opac-suggestions.pl?op=add_form (make sure you are not logged in) 4. Click "+ New purchase suggestion" 5. Observe text "You will receive an email when the library processes your suggestion." -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43229 --- Comment #1 from Lari Taskula <lari.taskula@hypernova.fi> --- An anonymous user cannot receive email as there is no email field that they could provide. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43229 --- Comment #2 from Lari Taskula <lari.taskula@hypernova.fi> --- Created attachment 203176 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=203176&action=edit Bug 43229: Instruct user to log in to receive purchase suggestion email notifications To test: 1. Enable preference suggestion 2. Enable preference AnonSuggestions 3. Navigate to OPACBaseURL/cgi-bin/koha/opac-suggestions.pl?op=add_form (make sure you are not logged in) 4. Click "+ New purchase suggestion" 5. Observe text "If you wish to receive an email when the library processes your suggestion, please log in before making a purchase suggestion." 6. Log in to OPAC 7. Observe text "You will receive an email when the library processes your suggestion." -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43229 Lari Taskula <lari.taskula@hypernova.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43229 Lari Taskula <lari.taskula@hypernova.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|oleonard@myacpl.org |lari.taskula@hypernova.fi -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43229 Roman Dolny <roman.dolny@jezuici.pl> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43229 Roman Dolny <roman.dolny@jezuici.pl> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #203176|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43229 --- Comment #3 from Roman Dolny <roman.dolny@jezuici.pl> --- Created attachment 203268 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=203268&action=edit Bug 43229: Instruct user to log in to receive purchase suggestion email notifications To test: 1. Enable preference suggestion 2. Enable preference AnonSuggestions 3. Navigate to OPACBaseURL/cgi-bin/koha/opac-suggestions.pl?op=add_form (make sure you are not logged in) 4. Click "+ New purchase suggestion" 5. Observe text "If you wish to receive an email when the library processes your suggestion, please log in before making a purchase suggestion." 6. Log in to OPAC 7. Observe text "You will receive an email when the library processes your suggestion." Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43229 Laura Escamilla <Laura.escamilla@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|testopia@bugs.koha-communit |Laura.escamilla@bywatersolu |y.org |tions.com Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43229 Laura Escamilla <Laura.escamilla@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #203268|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43229 --- Comment #4 from Laura Escamilla <Laura.escamilla@bywatersolutions.com> --- Created attachment 204560 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=204560&action=edit Bug 43229: Instruct user to log in to receive purchase suggestion email notifications To test: 1. Enable preference suggestion 2. Enable preference AnonSuggestions 3. Navigate to OPACBaseURL/cgi-bin/koha/opac-suggestions.pl?op=add_form (make sure you are not logged in) 4. Click "+ New purchase suggestion" 5. Observe text "If you wish to receive an email when the library processes your suggestion, please log in before making a purchase suggestion." 6. Log in to OPAC 7. Observe text "You will receive an email when the library processes your suggestion." Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl> Signed-off-by: Laura_Escamilla <laura.escamilla@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43229 Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pedro.amorim@openfifth.co.u | |k Status|Passed QA |Failed QA --- Comment #5 from Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> --- Hi all, we need to check for opacuserlogin, else we're potentially asking the user to log in when that's not possible. To reproduce: 1) Enable 'suggestion' and 'AnonSuggestions', set 'AnonymousPatron' to an existing borrowernumber, and disable 'opacuserlogin' 2) Log out 3) Go to http://localhost:8080/cgi-bin/koha/opac-suggestions.pl?op=add_form 4) The form says "please log in before making a purchase suggestion", but there's no way to log in. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43229 --- Comment #6 from Lari Taskula <lari.taskula@hypernova.fi> --- Created attachment 207829 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=207829&action=edit Bug 43229: Check opacuserlogin before asking the user to log in To test: 1) Enable 'suggestion' and 'AnonSuggestions', set 'AnonymousPatron' to an existing borrowernumber, and disable 'opacuserlogin' 2) Log out 3) Go to http://localhost:8080/cgi-bin/koha/opac-suggestions.pl?op=add_form 4) The form says "Please fill out this form to make a purchase suggestion.", but does not mention logging in to receive an email -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43229 Lari Taskula <lari.taskula@hypernova.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Failed QA |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43229 --- Comment #7 from Lari Taskula <lari.taskula@hypernova.fi> --- (In reply to Pedro Amorim (ammopt) from comment #5)
Hi all, we need to check for opacuserlogin, else we're potentially asking the user to log in when that's not possible. Nice catch. Here's a patch for that.
-- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43229 Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43229 Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43229 Community Sandboxes <sandboxes@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #204560|0 |1 is obsolete| | Attachment #207829|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43229 --- Comment #8 from Community Sandboxes <sandboxes@biblibre.com> --- Created attachment 207838 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=207838&action=edit Bug 43229: Instruct user to log in to receive purchase suggestion email notifications To test: 1. Enable preference suggestion 2. Enable preference AnonSuggestions 3. Navigate to OPACBaseURL/cgi-bin/koha/opac-suggestions.pl?op=add_form (make sure you are not logged in) 4. Click "+ New purchase suggestion" 5. Observe text "If you wish to receive an email when the library processes your suggestion, please log in before making a purchase suggestion." 6. Log in to OPAC 7. Observe text "You will receive an email when the library processes your suggestion." Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl> Signed-off-by: Laura_Escamilla <laura.escamilla@bywatersolutions.com> Signed-off-by: Ray Delahunty <raymund.delahunty@outlook.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43229 --- Comment #9 from Community Sandboxes <sandboxes@biblibre.com> --- Created attachment 207839 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=207839&action=edit Bug 43229: Check opacuserlogin before asking the user to log in To test: 1) Enable 'suggestion' and 'AnonSuggestions', set 'AnonymousPatron' to an existing borrowernumber, and disable 'opacuserlogin' 2) Log out 3) Go to http://localhost:8080/cgi-bin/koha/opac-suggestions.pl?op=add_form 4) The form says "Please fill out this form to make a purchase suggestion.", but does not mention logging in to receive an email Signed-off-by: Ray Delahunty <raymund.delahunty@outlook.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43229 --- Comment #10 from Community Sandboxes <sandboxes@biblibre.com> --- Signed off using a sandbox -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43229 Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Version(s)| |26.11.00 released in| | Status|Passed QA |Pushed to main -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43229 --- Comment #11 from Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> --- Thanks everyone! Pushed to main for 26.11! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43229 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to main |Pushed to stable Version(s)|26.11.00 |26.11.00,26.05.06 released in| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43229 --- Comment #12 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Nice work everyone! Pushed to 26.05.x for the upcoming 26.05.06 release. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43229 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Text to go in the| |On the OPAC purchase release notes| |suggestion form, a patron | |who is not logged in is now | |told to log in if they want | |an email when the library | |processes their suggestion. | |A logged-in patron is told | |that they will receive that | |email. The log-in prompt is | |shown only when | |`opacuserlogin` is enabled. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org