×
Kunena 5.1.14 Released - Security release (13 Aug 2019)

The Kunena team is proud to announce the arrival of Kunena 5.1.14 [K5.1.14] which is now available for download as a native Joomla extension for Joomla 3.9.x. This version addresses most of the issues that were discovered in K 5.1 and issues discovered during the development stages of K 5.1.14. This update fixed 1 security issue.

Solved diagnostics in Kunena and "broken" elements

More
3 weeks 5 days ago - 3 weeks 5 days ago #1 by lemur
Hi,
by diagnostics in Kunena periodically arise messageBodyMissingMessage, messageOrphaned, attachmentOrphaned, userTopicOrphaned and other "broken" elements of forum.

Questions.
1. How and why do such "broken" elements appear?
In other words, how to avoid them.

2. Is it possible to look at these items before deleting in Kunena? (among them may be important). For example, create a file with information about them. Or should we look for them in the database?

3. To question 2. Kunena offers to remove "broken" elements.
Maybe the developers will offer an alternative? For example, in a specially created topic "Diagnostics" create a post for each broken element, for example, the text of a message without a topic, a post without a parent etc. Then an admin can decide, what to do with such elements.

Regards

Attachments:
Last edit: 3 weeks 5 days ago by lemur.

Please Log in or Create an account to join the conversation.

More
3 weeks 4 days ago #2 by rich
This option shows orphaned database entries. I give you 2 examples:

1. Go in the backend and check the number of orphaned attachments
2. Click in the frontend on reply and upload an attachment
3. Click the Cancel button
The numbers of orphaned attachments are the same as before, the abort with the Cancel button is correct and the attachment entrie in the database is removed.

Now an uncorrect abort
1. Click in the frontend on reply and upload an attachment
2. Use instead the Cancel button the browser back option or click on any menu item
3. Go in the backend and check the number of orphaned attachments
Now you have additional an orphaned attachment, because Kunena not know, that you've aborted and the entrie in the database remain. But it lacks the associated message and therfore the entrie is orphaned.

I see on your image 12 orphaned attachments. So you will find in the database table *__kunena_attachments 12 entries with mesid = 0

We have noticed that's hard for admins to check it without further informations. Therefore is planned, to improve this in the future, so you get more informations before you delete.

Please Log in or Create an account to join the conversation.

More
3 weeks 1 day ago #3 by lemur
Hi rich,
thanks for the explanation.

Please Log in or Create an account to join the conversation.

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Time to create page: 0.077 seconds