Kunena/Kunena-Forum

Protected attachments will not be removed

rich20 opened this issue · 1 comments

Describe the bug
https://www.kunena.org/forum/36-German/168415-kunena-6-3-0-bildentfernung-im-beitrag-verursacht-berechtiungsfehler
Confirmed

To Reproduce

  1. Set in the configuration Protect Attachments to Yes
  2. Create a new topic or answer
  3. Write a text
  4. Upload one or more images
  5. Use the Remove File option and remove one or more attachments
  6. Submit the messagei

Actual result
The image and image information are not deleted, only the mesid in the #__kunena_attachments table is set to 0. And it adds another attachmentOrphaned in the backend diagnostics tool each time.
And after submitting, you get this message :
Bildschirmfoto vom 2024-04-30 15-02-13

System information

  • Joomla version: ‎5.1.1-dev
  • Joomla template: CASSIOPEIA
  • Kunena version: 6.3.1-DEV
  • Kunena template: Aurelia
  • Php version: 8.2.18
  • Database version: 10.5.23-MariaDB

Desktop

  • OS: Ubuntu 22.04.1 LTS
  • Browser: Chromium, Firefox and Opera

This issue is stale because it has been open 30 days with no activity.