sonatype-nexus-community / vscode-iq-plugin

Visual Studio Code plugin for Nexus IQ
MIT License
18 stars 21 forks source link

[FEATURE] Show contextual Policy Violations when selecting a version from the Version List #232

Open f5oto opened 2 years ago

f5oto commented 2 years ago

Describe the bug Policy violations do not update when you select a different component version

To Reproduce Steps to reproduce the behaviour:

  1. Select a component to view the violations
  2. Navigate to "Policy" tab
  3. Select a different version of the component
  4. The CIP doesn't update with that versions policy violations.

Expected behaviour Same as the other tables (component info / Security and Licensing), the policy violations should be looked up and updated

Screenshots image

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

cc @bhamail / @DarthHater

madpah commented 1 year ago

Thanks for the issue @f5oto.

tldr: The extension is working as we'd expect as the Policy Violations obtained from Nexus Lifecycle only relate to the version currently detected in the project.

I'll convert this to an Enhancement :-)