Use avatarType field + JDBC for photo URL generation to handle Hibernate proxies

FixSecurityService
Shipped
2026년 4월 19일 오전 12:56 UTC
Author
Kamo
Commit
62ceff0

**************** previously used instanceof AvatarPhoto to determine avatar type and cast to read fileExtension. When Hibernate returns a base-class proxy (e.g. via lazy association), instanceof fails and no URL is generated. Fix mirrors the pattern already in **************** - Read type from avatar.getAvatarType() field first, instanceof as fallback - Fetch file_extension via JDBC instead of casting to AvatarPhoto subtype **************** line for "type" field similarly fixed to use getAvatarType() before falling back to instanceof.

All changes

배송을 보는 것과 같이?

작업 공간의 모든 업데이트 땅은 자동으로. 일주일 후 무료로 시청하십시오.

무료 영원히 시작가격 비교