ironmansoftware / universal-automation

Universal Automation is the PowerShell-first automation platform.
https://ironmansoftware.com/universal-automation/
MIT License
24 stars 4 forks source link

Script Description Issues #10

Closed leeberg closed 4 years ago

leeberg commented 4 years ago

Describe the Issue

The seems to be some issues with Description

  1. Creating a Script with a Description does not populate the Description
  2. Set-UAScript -Description does not populate the description

To Reproduce

  1. $Script = New-UAScript -Name "DescriptionTest1" -Description "Hello World" -ScriptBlock {$Derp}
  2. $Script | Set-UAScript -Description "Hello Test99"

Expected behavior

adamdriscoll commented 4 years ago

This is more than just the description. Seems like the Set-UAScript cmdlet is messed up. It sets the properties into git but isn't syncing correctly to the database. Also, it seems like properties are stomping on each other. e.g. if I set description it clears manualtime etc.