Kunena / Kunena-Forum

Kunena Forum - Forum / Bulletin Board / Discussions component for Joomla - This is the 6.x/5.x main development branch. Please do not open issues regarding earlier versions of Kunena
https://www.kunena.org
GNU General Public License v3.0
1.75k stars 814 forks source link

Protected attachments will not be removed #9679

Open rich20 opened 2 months ago

rich20 commented 2 months ago

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

Desktop

github-actions[bot] commented 3 weeks ago

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