ZCS-11691: Cannot send meeting with message attachment(.msg) using mo… #1362
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.
Issue: Cannot send meeting with message attachment(.msg) using modern UI(tika-parsers issue)
Whenever we attach a .msg file while sending an invite it would fail with an error
ua=ZimbraXWebClient - GC103 (Windows)/9.1.0_BETA_4334;soapId=7e9080de;] SoapEngine - handler exception java.lang.NoClassDefFoundError: org/apache/james/mime4j/codec/DecodeMonitor at org.apache.tika.parser.microsoft.OutlookExtractor.decodeHeader(OutlookExtractor.java:563) ~[tika-parsers-1.24.1.jar:1.24.1] at org.apache.tika.parser.microsoft.OutlookExtractor.normalizeHeaders(OutlookExtractor.java:529) ~[tika-parsers-1.24.1.jar:1.24.1] at org.apache.tika.parser.microsoft.OutlookExtractor.parse(OutlookExtractor.java:161) ~[tika-parsers-1.24.1.jar:1.24.1] at org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:199) ~[tika-parsers-1.24.1.jar:1.24.1] at org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:131) ~[tika-parsers-1.24.1.jar:1.24.1] at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:280) ~[tika-core-1.24.1.jar:1.24.1]
Basically upon checking
DecodeMonitor
class was missing. This class is available inorg.apache.james
. Adding this resolved the issue. Raised PR in zm-zcs-lib : Zimbra/zm-zcs-lib#101Testing: Manual testing to send invites by adding .msg attachment and it's successfully sent