ResearchHub / issues

File an issue or request a feature
1 stars 0 forks source link

Missing comments on specific post #5

Open yattias opened 6 months ago

yattias commented 6 months ago

This particular comment has comments missing from the conversation tab. Interestingly, the comments show up in the main "Post" tab.

https://www.researchhub.com/post/428/feedback-request-crowdsourced-paper-reviews/conversation

The issue is likely frontend related. Guessing it is related to an improperly set param within CommentFeed component.

This is likely happening in other posts too

hhio618 commented 5 months ago

Hi, I can fix this within 2 days. Would you assign me the task? Also, is it possible to raise the bounty value to something like $200?

dominikusbrian commented 5 months ago

This particular comment has comments missing from the conversation tab. Interestingly, the comments show up in the main "Post" tab.

https://www.researchhub.com/post/428/feedback-request-crowdsourced-paper-reviews/conversation

The issue is likely frontend related. Guessing it is related to an improperly set param within CommentFeed component.

This is likely happening in other posts too

I confirmed this happened to my account as well in a big way. Yesterday (23rd June) I experienced something like this. All my comments and peer reviews,--basically all things I posted on other people's thread--has gone missing from interface; aside for the one just been posted in the last 24 Hrs or so.

kerkelae commented 4 months ago

It seems that with this particular post, /api/researchhubpost/428/comments/?filtering=DISCUSSION&ordering=BEST&child_count=9&page_size=15&ascending=FALSE&privacy_type=PUBLIC&parent__isnull=true on the comments tab fails and returns {"count":0,"next":null,"previous":null,"results":[]}. On the main post tab, the response to /api/researchhubpost/428/comments/?ordering=BEST&child_count=9&page_size=15&ascending=FALSE&privacy_type=PUBLIC&parent__isnull=true contains the comments as expected. Something seems to be going wrong with the discussion filtering.

On new posts I checked (e.g., here), both endpoints return the comments correctly. However, with older posts from 2022, this issue is present. For example, here, here, and here. It would be good to check the database for inconsistencies between old and new posts. Maybe this was missed by some migrations.