[Koha-bugs] [Bug 35019] Can't delete news from the staff interface main page

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 10 19:33:26 CEST 2023


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

Émily-Rose Francoeur <emily-rose.francoeur at inLibro.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #156801|0                           |1
        is obsolete|                            |

--- Comment #2 from Émily-Rose Francoeur <emily-rose.francoeur at inLibro.com> ---
Created attachment 156802
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=156802&action=edit
Bug 35019: Add a CSRF token when deleting news

I add a CSRF token as a parameter in the link for deleting a news entry, which
solves the problem.

TEST PLAN
1) Apply the patch
2) Go to "Tools > News > New entry"
3) "Display location" should be set to "Staff interface"
4) Fill in the fields
5) Return to the homepage
6) Delete the created news entry
7) The "Additional contents" page is displayed, and the deleted news entry no
longer appears
8) Return to the homepage; the news entry no longer displays

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


More information about the Koha-bugs mailing list