Skip to content

Fix: 홈 화면 bio가 레거시 필드만 조회하는 문제 수정 - #132

Open
woneeeee wants to merge 1 commit into
devfrom
fix/bio-매핑-수정

Hidden character warning

The head ref may contain hidden characters: "fix/bio-\ub9e4\ud551-\uc218\uc815"
Open

woneeeee wants to merge 1 commit into
devfrom
fix/bio-매핑-수정

Conversation

@woneeeee

@woneeeee woneeeee commented Oct 12, 2026 •

Copy link
Copy Markdown
Member

📌 Summary

어떤 작업인지 한 줄 요약해 주세요.

홈 화면의 소개글(bio)이 마이페이지와 다르게 보이던 불일치 버그를 수정합니다.

📝 Changes

변경사항을 what, why, how로 구분해 작성해 주세요.

What

  • DashboardMapper.toMyInfoResponse()가 bio를 ClubMember.bio(레거시 필드)에서만 가져오던 것을, ClubMember.userProfile?.bio ?: clubMember.bio 순으로 조회하도록 수정
  • DashboardMapperTest에 멀티프로필 할당/미할당 두 케이스 모두 bio 값을 검증하도록 테스트 보강

Why

  • 마이페이지(UserMyPageMapper)는 UserProfile.bio(멀티프로필 시스템)를 읽는 반면, 홈 화면(DashboardMapper)은 ClubMember.bio(프로필 시스템 도입 전 레거시 필드)를 직접 읽고 있었습니다.
  • 같은 매퍼 안에서 name/profileImage는 이미 UserInfoMapper가 "프로필 우선, 없으면 레거시 fallback" 패턴으로 올바르게 처리하는데, bio만 이 패턴을 안 타고 있었습니다.
  • 그래서 유저가 "프로필 관리"에서 소개글을 수정하면 마이페이지엔 즉시 반영되지만 홈 화면엔 예전 값이 그대로 남아있는 현상이 발생했습니다.

How

  • ClubMapper.resolveMemberBio(), PenaltyMapper에서 이미 쓰고 있던 것과 동일한 fallback 패턴(member.userProfile?.bio ?: member.bio)을 DashboardMapper.toMyInfoResponse()에도 동일하게 적용

📸 Screenshots / Logs

필요시 스크린샷 or 로그를 첨부해주세요.

💡 Reviewer 참고사항

리뷰에 참고할 내용을 작성해주세요.

✅ Checklist

  • PR 제목 설정 완료 (WTH-123 인증 필터 설정)
  • 테스트 구현 완료
  • 리뷰어 등록 완료
  • 자체 코드 리뷰 완료

@coderabbitai

coderabbitai Bot commented Oct 12, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 1fc6a941-2f79-446b-9446-8d522d40f723

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added the 🐞 BugFix 버그 수정 label Oct 12, 2026
@woneeeee
woneeeee requested review from hyxklee and soo0711 October 12, 2026 13:00
@woneeeee woneeeee self-assigned this Oct 12, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐞 BugFix 버그 수정

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant