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

Make comment authors optional #832

Merged
merged 2 commits into from
Oct 7, 2024
Merged

Conversation

violine1101
Copy link
Member

Purpose

Fix Arisa crashing if there's a comment by an anonymous / deleted account on a bug report (see https://bugs.mojang.com/browse/MCPE-13860 for example)

Approach

Make the "author" field in comments optional

Future work

There might be more issues with other class properties not being optional when they should be

Checklist

  • Included tests
  • Updated documentation in README
    and docs folder
  • Tested in MCTEST-xxx

# Conflicts:
#	src/main/kotlin/io/github/mojira/arisa/domain/Comment.kt
#	src/main/kotlin/io/github/mojira/arisa/modules/ReopenAwaitingModule.kt
@violine1101 violine1101 merged commit 2943388 into master Oct 7, 2024
6 checks passed
@violine1101 violine1101 deleted the optional-comment-author branch October 7, 2024 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants