-
Notifications
You must be signed in to change notification settings - Fork 0
[$75] Discussion/comment counts are incorrect in roundtables - production #424
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
Comments
@sdgun - Yeah, I think this fix was part of what I had to back out to fix the permissions issue. |
Challenge https://www.topcoder.com/challenges/eef1051a-26a8-48dd-bd9a-c8f1a6d9b1c9 has been created for this ticket. |
@atelomycterus - I know we have a fix for this, but can we separate out the fix for this from the performance updates please? I'd like to get this pushed separately so we can get it out quicker than the performance stuff. |
Challenge https://www.topcoder.com/challenges/eef1051a-26a8-48dd-bd9a-c8f1a6d9b1c9 has been assigned to obog. |
@jmgasper I've checked PROD. In general, both counts are correct. I think "wrong counts" because General had 'Discussion type' before. PRODCheck 1From Db Check 2 Issues 386 + 502/504
#386 is a different issue. Wrong Comment count in #386 was due to 502/504 errors. If a new comment was created, and the setCache recalculation wasn't completed, then as a result the data in the cache and in the database are different. |
@jmgasper ☝️ https://discussions.topcoder.com/discussion/1136 -> You can see these discussions: |
@sdgun ☝️ Can you test please? |
@atelomycterus Not sure what I did is what you are asking in your comment above.
|
@sdgun Sorry about that, I updated steps. Let me know if you have any questions:
|
@atelomycterus Not related to this issue, but I see a challenge discussion in the roundtables(log in as Copilot). |
@atelomycterus Executed only steps 1to 4 and noticing the counts incorrect. The counts displayed in the category 'General(Issue-424)' are incorrect. Screencast.2021-02-24.mp4 |
@sdgun That's right, they must be incorrect at this step. The same issue in PROD. Within General(Issue-424) - 3 discussions , 9 comments: 2 discussions were added at p.2 , you don't see them due to 'DisplayAs=Nested' but you can only see by direct link: Total: 5 discussions, 12 comments. After steps 5 (Moving https://vanilla.topcoder-dev.com/discussion/3631), Both counts should be decreased (4 discussions, 11 comments) |
@atelomycterus Thanks, the counts are correct after moving/deleting. |
This category was created for a challenge. This category should not be at this level. The challenge - https://www.topcoder-dev.com/challenges/c1fcdad4-07a5-46f3-9cef-9609c04e76be Challenge processor forum created it because the description is 'Welcome to Topcoder Development challenge! Please post your questions in this forum, thanks!'. This phrase is used in template.json. It looks like someone was testing with a different template.json. 2 categories with the same name were created but urls are different, no discussions. What names to use for the category, how to generate url and what discussions to create by default is managed via template.json @jmgasper Maybe you know? ☝️ |
@sdgun - that particular group was created manually for testing. It was not created by the challenge forum processor |
@jmgasper @atelomycterus Thanks |
Payment task has been updated: https://www.topcoder.com/challenges/eef1051a-26a8-48dd-bd9a-c8f1a6d9b1c9 |
@jmgasper Looks like we have not move/deleted the discussions in production, the counts still don't tally in General roundtable. |
@jmgasper @sdgun I've fixed it in PROD. https://discussions.topcoder.com/discussion/1136 - a test discussion , deleted |
@sdgun - Can you verify please? |
Verified in production, the discussion/comment counts tally. |
@atelomycterus - I'll log a separate ticket for the cleanup work, thanks. |
Steps
Log into production forums
GO to Roundtables
Check the General category
Go inside the category and check the discussions/comments
No discussions/comments inside
Screencast.2021-02-22.mp4
The text was updated successfully, but these errors were encountered: