Skip to content

Conversation

@yluf5
Copy link

@yluf5 yluf5 commented Dec 8, 2022

There is a case where the DPM sends an empty app_protect_metadata to erase the old meta when the user no longer uses NAP.

Proposed changes

Check if app_protect_metadata's nap version is empty first before we compare the installed NAP version and the metadata NAP version and throw error.

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING document
  • If applicable, I have added tests that prove my fix is effective or that my feature works
  • If applicable, I have checked that any relevant tests pass after adding my changes
  • I have updated any relevant documentation (README.md)

…e is case where the DPM sends an empty app_protect_metadata to erase the old meta when the user no longer use NAP.
@github-actions github-actions bot added the bug Something isn't working label Dec 8, 2022
@oliveromahony oliveromahony merged commit d4d1a55 into main Dec 16, 2022
@oliveromahony oliveromahony deleted the fix-app-protect-metadata-nap-version-check branch December 16, 2022 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants