ironmansoftware / powershell-universal

Issue tracker for PowerShell Universal
https://powershelluniversal.com
34 stars 3 forks source link

Create New Schedule doesn't pass on script parameters #1947

Closed schubfre closed 1 year ago

schubfre commented 1 year ago

Steps to Reproduce

Try to create a new schedule via GUI, select 'One Time' and choose any script. I would expect the input parameters from the script to be there, but they are completely missing. In my screenshot, the create schedule should pass on servername, zonename, IP and TTL parameters for example.

Expected behavior

Parameters from the relevant script should be passed on as mentioned in https://docs.powershelluniversal.com/automation/schedules#parameters

Actual behavior

Parameters from the relevant script are not passed on to the schedule GUI

Environment data

PSU: 3.7.5 Windows Server 2022 I noticed this since 3.6.x. Before that I never looked at schedules so I can't say when it broke

Visuals

image

schubfre commented 1 year ago

Nevermind.. it seems to have been one big caching issue.. After clearing the cache it displays all parameters.. It's weird though that this has been happening for a month straight, but I'll close the issue.

schubfre commented 1 year ago

I know how to replicate it now. It seems to break when choosing One-Time schedule. Now, again, I can select each schedule method and don't get shown any parameters.