Skip to content

Fix user modding post listing error on deleted beatmapset#13034

Draft
nanaya wants to merge 1 commit into
ppy:masterfrom
nanaya:null-discussion-beatmapset
Draft

Fix user modding post listing error on deleted beatmapset#13034
nanaya wants to merge 1 commit into
ppy:masterfrom
nanaya:null-discussion-beatmapset

Conversation

@nanaya

@nanaya nanaya commented Jun 3, 2026

Copy link
Copy Markdown
Collaborator

Either this or query with the has thing.

@notbakaneko notbakaneko left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BeatmapDiscussionTransformer::includeBeatmapset should also be updated to handle it

@nanaya

nanaya commented Jun 4, 2026

Copy link
Copy Markdown
Collaborator Author

is there any endpoint where it can happen?

@notbakaneko

Copy link
Copy Markdown
Collaborator

/users/{user}/modding?

@nanaya

nanaya commented Jun 5, 2026

Copy link
Copy Markdown
Collaborator Author

I just noticed the beatmapset relation in discussion model already includes deleted beatmapset and the post with error is pointing to a completely nonexistent beatmapset (not even deleted/inactive) which I don't think should happen 🤔

@nanaya nanaya marked this pull request as draft June 5, 2026 05:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants