fix(social): 댓글 삭제 미반영 및 알림 이모지 깨짐 버그 수정#169
Merged
Merged
Conversation
댓글 삭제 API 호출 시 대댓글만 삭제되고 댓글 본체는 미삭제, @Modifying(clearAutomatically = true)가 bulk UPDATE 후 1차 캐시를 clear하면서 앞서 로딩한 comment 엔티티가 detached 상태로 전환되어 comment.softDelete() 호출이 무시됨
truncate()가 String.length(), substring() 기반 동작이라 이모지가 20번째에 걸리면 버그가 날 수도 있어서 Unicode code point 단위 기반으로 수정
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📝 요약(Summary)
기반으로 수정
🔗 Related Issue
💬 공유사항
✅ PR Checklist
PR이 다음 요구 사항을 충족하는지 확인하세요.