Skip to content

Using certain Validation commands could cause false failure reports #178

@HowardGMac

Description

@HowardGMac

Describe the bug
Using the validation commands "Hide Dialog" and "Show Dialog" could cause the policy they are used in to be flagged mistakenly as having an Error.

To Reproduce
Create a Setup-Your-Mac simple policy setup that uses the validation commands. The policy containing those commands will report the overall policy as Errored.
{"listitem": "Test - Show the Bug", "subtitle": "Show the bug.", "icon": "https://ics.services.jamfcloud.com/icon/hash_ff2147a6c09f5ef73d1c4406d00346811a9c64c0b6b7f36eb52fcb44943d26f9", "progresstext": "Showing a bug...", "trigger_list": [ { "trigger": "none", "validation": "Hide Dialog" }, { "trigger": "some-policy-in-jamf", "validation": "None" }, { "trigger": "none", "validation": "Show Dialog" } ] }

Expected behavior
The policy should pass and indicate success

Environment (please complete the following information):

  • OS version 26.3 and 15.7.4
  • Script version 1.16.0
  • swiftDialog version 2.5.6.4805

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions