GroupDocs.Parser unable to detect password protected 7z archive?

When initializing a new GroupDocs.Parser.Parser instance with password protected 7-Zip archive as a Stream, this exception is thrown:

  • Exception of type ‘GroupDocs.Parser.Exceptions.UnsupportedDocumentFormatException’ was thrown.

When initializing using filepath instead of Stream, this exception is thrown:

  • Wrong compression method for encoded header

Will be great if it is able to detect password protection and throw meaningful exceptions such as the below for .docx and .zip respectively:

  • Password is required to convert password protected docx document
  • Exception of type ‘GroupDocs.Parser.Exceptions.InvalidPasswordException’ was thrown.

i.e. make sure that the word “password” appears in the exception message so that developers can handle it accordingly, thanks!

@jarrodwee
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): PARSERNET-2085

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

The issues you have found earlier (filed as PARSERNET-2085) have been fixed in this update. This message was posted using Bugs notification tool by atir.tahir

A post was split to a new topic: Document viewer API unable to detect password protected archive