Bug 12937

Summary: Deleting suggestions should ask for a confirmation
Product: Koha Reporter: Jonathan Druart <jonathan.druart>
Component: AcquisitionsAssignee: Jonathan Druart <jonathan.druart>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: julian.maurice, kyle, tomascohen
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24336
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 12937: Deleting suggestions should ask for a confirmation
[SIGNED-OFF] Bug 12937: Deleting suggestions should ask for a confirmation
Bug 12937 [Follow-up] Deleting suggestions should ask for a confirmation
Bug 12937 [Follow-up] Deleting suggestions should ask for a confirmation
[PASSED QA] Bug 12937: Deleting suggestions should ask for a confirmation
[PASSED QA] Bug 12937 [Follow-up] Deleting suggestions should ask for a confirmation

Description Jonathan Druart 2014-09-17 11:14:09 UTC
On the suggestion management page, the librarian can choose to delete suggestions but no confirmation is needed.
This could produce unexpected lost of data.
Comment 1 Jonathan Druart 2014-09-17 11:17:18 UTC Comment hidden (obsolete)
Comment 2 Owen Leonard 2014-09-17 12:34:35 UTC Comment hidden (obsolete)
Comment 3 Owen Leonard 2014-09-17 12:34:42 UTC Comment hidden (obsolete)
Comment 4 Jonathan Druart 2014-09-17 15:29:17 UTC Comment hidden (obsolete)
Comment 5 Kyle M Hall (khall) 2014-09-19 11:27:21 UTC
Created attachment 31731 [details] [review]
[PASSED QA] Bug 12937: Deleting suggestions should ask for a confirmation

On the suggestion management page, the librarian can choose to delete
suggestions but no confirmation is needed.
This could produce unexpected lost of data.

Test plan:
- go on the suggestion management page
- don't select any suggestion and try to delete (check the checkbox and submit the form).
  Verify that you get an alert.
- select 1 suggestion and delete it, verify you get a confirmation
  message
- select 1+ suggestions and delete it, verify you get a confirmation
  message

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Comment 6 Kyle M Hall (khall) 2014-09-19 11:27:32 UTC
Created attachment 31732 [details] [review]
[PASSED QA] Bug 12937 [Follow-up] Deleting suggestions should ask for a confirmation

This minor follow-up revises the language a bit: Adding missing question
marks and using the more standard prompt "Please select at least one..."

To test, follow the previous test plan and confirm that the prompts are
improved:

- go on the suggestion management page
- don't select any suggestion and try to delete (check the checkbox and
  submit the form). Verify that you get an alert.
- select 1 suggestion and delete it, verify you get a confirmation
  message
- select 1+ suggestions and delete it, verify you get a confirmation
  message

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Comment 7 Tomás Cohen Arazi (tcohen) 2014-09-24 00:31:00 UTC
Patches pushed to master.

Thanks Jonathan and Owen!