Protected attachments will not be removed
rich20 opened this issue · 1 comments
rich20 commented
Describe the bug
https://www.kunena.org/forum/36-German/168415-kunena-6-3-0-bildentfernung-im-beitrag-verursacht-berechtiungsfehler
Confirmed
To Reproduce
- Set in the configuration Protect Attachments to Yes
- Create a new topic or answer
- Write a text
- Upload one or more images
- Use the Remove File option and remove one or more attachments
- 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 :
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
github-actions commented
This issue is stale because it has been open 30 days with no activity.