Bug 30863 - Deleting a patron message - selecting cancel option deletes message
Summary: Deleting a patron message - selecting cancel option deletes message
Status: CLOSED INVALID
Alias: None
Product: Koha
Classification: Unclassified
Component: Patrons (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-28 23:15 UTC by David Nind
Modified: 2023-06-08 22:26 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Nind 2022-05-28 23:15:17 UTC
When deleting a message for a patron's account, selecting the "Cancel" button deletes the message.

To replicate:

1. Add a message to a patron's account (Patrons > find and view a patron record >  select "Add message" > enter some details > select "Save").
2. Select "Delete" next to the message.
3. A message box is shown with "Are you sure you want to delete this message? This cannot be undone.". Options are "Cancel" and "OK".
4. Select OK - the message is deleted, as expected.
5. Repeat steps 1-3.
5. Select Cancel - the message is deleted, when it shouldn't be!
Comment 1 Jonathan Druart 2022-06-01 12:33:08 UTC
I don't recreate on circ/circulation.pl?borrowernumber=X or members/moremember.pl?borrowernumber=X

Are you testing on another view?
Comment 2 David Nind 2022-06-01 19:49:06 UTC
That's where I was testing from, and now I can't replicate it either!
I also can't remember/locate the bug I was testing at the time - maybe just a browser caching issue.

Closing...