3drepo / 3drepobouncer

A C++ library providing 3D Repo Scene Graph definition, repository management logic and manipulation logic. It is is essentially the refactored 3DRepoCore and (parts of) 3DRepoGUI
GNU Affero General Public License v3.0
29 stars 13 forks source link

Issue 667 - New error code for encrypted NWDs #681

Closed sebjf closed 5 months ago

sebjf commented 5 months ago

This fixes #667 - new error code for encrypted NWD files

Description

This PR adds an extra case to the NWD File Processor that detects the appropriate OdError code when an encrypted file is provided, and returns the corresponding 3D Repo error code (37).

This PR relies on #680, which should be merged first. This PR exists at the moment just to indicate the issue has been addressed.

Test cases

A new unit test has been added with an encrypted NWD.