Unable to open script settings when tag assigned

Unable to open script settings when tag assigned

avatar
(anonymous user)
Product: PowerShell Universal
Version: 4.0.1


So there’s a few issues but this is the main one. When I assign a tag to a script, going into the settings page for that script in PowerShell universal returns a long error message starting with this:

TypeError: Cannot read properties of undefined (reading 'color')

    at M (https://server/admin/static/js/18.98d42502.chunk.js:2:1092326)


If I remove the tag it’s fine again. This seems only to have started happening since the upgrade to 4.0.1.

The other issue is that I cannot set the tags on any script inside the web portal with GIT sync. If I go into settings, enter edit mode, and set a tag there is nothing in the changes:

e3ff704dab8a6ee1937abf13bfaa54021525942f


I can set them through code by editing the scripts.ps1 file like so:

New-PSUScript -Name "Invoke-FTPLogCheck.ps1" -Description "Desc" -Tag @('Tag') -Path "Log Analysis\Invoke-FTPLogCheck.ps1" -Environment "7.3.4" -InformationAction "SilentlyContinue"

Which is then when i see the issue of not being able to get to settings.

e3ff704dab8a6ee1937abf13bfaa54021525942f.png

All Comments (1)

avatar