Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] Delete status of comment replies not update when parent comment is deleted #22

Open
diderich opened this issue Sep 21, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@diderich
Copy link

🐞 bug report

⁉️ Describe the bug

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:

  1. Go to any module with comments
  2. Create a comment
  3. Create a reply to the comment
  4. Delete the main comment
  5. 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
@mariuszkrzaczkowski mariuszkrzaczkowski added the bug Something isn't working label Sep 21, 2022
@diderich 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
@rskrzypczak rskrzypczak transferred this issue from YetiForceCompany/YetiForceCRM Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants