Kunena 7.0.4 Released

The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0

Topics must relate to a currently supported version of Kunena. If you are unsure what is the current supported version of Kunena, please go to the download page.

If you are having problems then, for your own benefit, it would save us all a lot of time if you would kindly post your configuration report when you ask for help from this forum. If you do not post your configuration report we will not ask you for it but you will probably not get your problem solved, either.

Question Problem with Parent References of Deleted Posts

More
5 months 4 weeks ago - 5 months 4 weeks ago #234168 by lemur
I encountered a situation that I verified using the following topic model.

The topic contains posts:
  • #3559 Post 1. The beginning of the topic
  • #3560 Post 2. Reply to 1 as to post
  • #3561 Post 3. Reply to 1 in the topic
  • #3562 Post 4. Reply to 2
  • #3563 Post 5. Reply to 3
If Post 3 (#3561) is deleted by administrator (becomes grayed out), Post 5 remains in the topic.
In the table
Code:
kunena_messages
 the row with id=3561 gets hold = 2.

If Post 3 is permanently deleted by the administrator, Post 5 also remains in the topic (which is correct).
The row with id=3561 is deleted from the table, but in the row for #3563, parent=3561 remains.
However, it should become parent=3559.

The same issue occurs if Post 2 (#3560) is permanently deleted. The row with id=3560 is deleted from the table, but in the row for #3562, parent=3560 remains.
However, it should become parent=3559.

This should probably be fixed. The new parent should be calculated based on the parent of the deleted post.Thanks

- - - - - - - - -
Signature:
Many thanks to Rich and the other advisors.
Last edit: 5 months 4 weeks ago by lemur.

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

More
5 months 4 weeks ago #234169 by lemur
Actually, the problem occurs even with non-permanent deletion of a post, when the post gets hold=2. Perhaps the parent should be changed at this point already?
However, this would require a procedure to restore the old value if the post is restored. And there's nowhere to get it from (with the current structure of Kunena tables).
That's a problem!
But at least for permanently deleted posts, the situation should be fixed.

- - - - - - - - -
Signature:
Many thanks to Rich and the other advisors.

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

More
5 months 3 weeks ago #234170 by Pinkeltje
What exactly is your problem? Is there some malfunctioning on the forum because of this? I delete messages regularly and never had any problems whatsoever.

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

More
5 months 3 weeks ago #234172 by lemur
Thank you,
I have no direct problems with the parent field.
But when I came across this inconsistency in the database, I thought I should report it.
You can close the topic.

- - - - - - - - -
Signature:
Many thanks to Rich and the other advisors.

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

Time to create page: 0.247 seconds