Skip to content

Set view does not show any result after completion #151

Description

Brief description of your issue

If you invoke set operation on a resource via the DSC CLI, you'll get beforeState, afterState & changedProperties in the response. WinGet studio shows nothing in the Results view after the set operation completes successfully

Steps to reproduce

  1. Go to validate a resource view
  2. Type Microsoft.WinGetCreate/Settings for the resource name
  3. The settings input is
settings:
  Telemetry:
    disable: true
  1. Click on Set operation

Expected behavior

The results view should look like the output of dsc resource set -r "Microsoft.WinGetCreate/Settings" --input '{"settings": {"Telemetry": {"disable": true}}}'

beforeState:
  settings:
    $schema: https://aka.ms/wingetcreate-settings.schema.0.1.json
    Telemetry:
      disable: false
    CleanUp:
      intervalInDays: 7
      disable: false
    WindowsPackageManagerRepository:
      owner: microsoft
      name: winget-pkgs
    Manifest:
      format: yaml
    Visual:
      anonymizePaths: true
afterState:
  settings:
    $schema: https://aka.ms/wingetcreate-settings.schema.0.1.json
    Telemetry:
      disable: true
    CleanUp:
      intervalInDays: 7
      disable: false
    WindowsPackageManagerRepository:
      owner: microsoft
      name: winget-pkgs
    Manifest:
      format: yaml
    Visual:
      anonymizePaths: true
  action: Partial
changedProperties:
- settings

Actual behavior

WinGet studio shows nothing in the Results after completion

Environment

Windows: Windows.Desktop v10.0.26100.6899
System Architecture: X64
WinGet Studio version 0.100.302.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugSomething isn't working

    Type

    Projects

    • Status
      To Do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions