hungphan227 commented on PR #2587: URL: https://github.com/apache/james-project/pull/2587#issuecomment-2611498187
``` class AttachmentBlobResolver @Inject()(val attachmentManager: AttachmentManager, val attachmentIdFactory: AttachmentIdFactory) extends BlobResolver { override def resolve(blobId: BlobId, mailboxSession: MailboxSession): SMono[BlobResolutionResult] = attachmentIdFactory.from(blobId.value.value) match { case attachmentId: StringBackedAttachmentId => Try(attachmentIdFactory.from(blobId.value.value)) match { case Success(attachmentId) => SMono(attachmentManager.getAttachmentReactive(attachmentId, mailboxSession)) .map(attachmentMetadata => Applicable(SMono(attachmentManager.loadReactive(attachmentMetadata, mailboxSession)) .map(content => AttachmentBlob(attachmentMetadata, content)))) ``` ` The fix on last commits allows to fix all failed tests... except one.` I remembered that fixing this issue is not that easy. It seems there is mismatch between blobId and postgres attachmentId -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For additional commands, e-mail: notifications-h...@james.apache.org