-
-
Notifications
You must be signed in to change notification settings - Fork 69
Description
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