Skip to content

fix: 탈퇴 회원의 학적 정보 null 로 인한 NPE 수정 - #396

Merged
agree0002 merged 1 commit into
mainfrom
fix/withdrawn-member-npe
Nov 9, 2026
Merged

agree0002 merged 1 commit into
mainfrom
fix/withdrawn-member-npe

Conversation

@agree0002

Copy link
Copy Markdown
Contributor

withdraw() 에서 schoolInformation 을 null 로 비우기 때문에
탈퇴 회원이 작성한 댓글 조회 시 getSchoolInformation().getMajor() 에서 NPE 발생. null-safe 한 Member.getMajor() 를 추가하고 댓글 DTO 및
이름 변경 요청 목록에서 사용하도록 변경.

withdraw() 에서 schoolInformation 을 null 로 비우기 때문에
탈퇴 회원이 작성한 댓글 조회 시 getSchoolInformation().getMajor() 에서 NPE 발생.
null-safe 한 Member.getMajor() 를 추가하고 댓글 DTO 및
이름 변경 요청 목록에서 사용하도록 변경.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@agree0002
agree0002 deployed to build_gradle November 9, 2026 15:12 — with GitHub Actions Active
@agree0002
agree0002 merged commit 0a30cb7 into main Nov 9, 2026
3 checks passed
@agree0002
agree0002 deleted the fix/withdrawn-member-npe branch November 9, 2026 15:38

This branch was successfully deployed

1 active deployment
build_gradle — 5967d319 Deployed Nov 9, 2026 by agree0002 via build #507
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.

1 participant