You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a comment that has replies is deleted (moved to the recycle bin), neither the comment, nor the replies are visible any mode.
But the entity records in table vtiger_crmentityof the replies are not marked as deleted, i.e., vtiger_crmentity.deleted = 0, rather than 1.
This leads to incorrect results for example with widgets displaying the number of not deleted comments in summary_block.
🔥 How to trigger the error
Steps to reproduce the behavior:
Go to any module with comments
Create a comment
Create a reply to the comment
Delete the main comment
View the record associated with the reply comment in table vtiger_crmentity and see that deleted = 0, rather than 1.
👎 Actual Behavior
If deleting (moving the the recycle bin) a comment, all replies to it become invisible, but the replies are not market as deleted in the database.
👍 Expected Behavior
If deleting (moving the the recycle bin) a comment, all replies are either marked deleted in the database or still displayed as comments, with a note that the parent comment was deleted.
👷 Testing
As the test systems do not allow to view the content of the database, it is impossible to validate the issue on the test installations.
📷 Screenshot of configuration
Not relevant.
🌍 Your Environment
Environment
Version / Name
YetiForce
6.4.0
Service Pack version
Service Pack 6
The text was updated successfully, but these errors were encountered:
diderich
changed the title
[bug] Delete status of comment repiles not update when parent comment is deleted
[bug] Delete status of comment replies not update when parent comment is deleted
Sep 21, 2022
🐞 bug report
If a comment that has replies is deleted (moved to the recycle bin), neither the comment, nor the replies are visible any mode.
But the entity records in table
vtiger_crmentity
of the replies are not marked asdeleted
, i.e.,vtiger_crmentity.deleted = 0
, rather than1
.This leads to incorrect results for example with widgets displaying the number of not deleted comments in
summary_block
.🔥 How to trigger the error
Steps to reproduce the behavior:
vtiger_crmentity
and see thatdeleted = 0
, rather than1
.👎 Actual Behavior
If deleting (moving the the recycle bin) a comment, all replies to it become invisible, but the replies are not market as deleted in the database.
👍 Expected Behavior
If deleting (moving the the recycle bin) a comment, all replies are either marked deleted in the database or still displayed as comments, with a note that the parent comment was deleted.
👷 Testing
As the test systems do not allow to view the content of the database, it is impossible to validate the issue on the test installations.
📷 Screenshot of configuration
Not relevant.
🌍 Your Environment
The text was updated successfully, but these errors were encountered: