ironmansoftware / issues

Public Issue tracker for Ironman Software products.
https://ironmansoftware.com
31 stars 2 forks source link

Jobs failed today page #3391

Closed alexrgreenwood closed 3 weeks ago

alexrgreenwood commented 3 weeks ago

Summary of the feedback

if you hit /admin/automation/jobs/failed

Object reference not set to an instance of an object.

or from the homepage >"Jobs failed today" nothing happens and the log entry below

2024-06-12 17:35:21.235 +01:00 [WRN] Unhandled exception rendering component: Requested value 'failed' was not found.
System.ArgumentException: Requested value 'failed' was not found.
   at System.Enum.TryParseByName[TStorage](RuntimeType enumType, ReadOnlySpan`1 value, Boolean ignoreCase, Boolean throwOnFailure, TStorage& result)
   at System.Enum.TryParseByValueOrName[TUnderlying,TStorage](RuntimeType enumType, ReadOnlySpan`1 value, Boolean ignoreCase, Boolean throwOnFailure, TUnderlying& result)
   at System.Enum.Parse[TEnum](String value, Boolean ignoreCase)
   at System.Enum.Parse[TEnum](String value)
   at PowerShellUniversal.JobsTable.OnParametersSet() in C:\actions-runner\_work\universal\universal\src\Universal.Server\Shared\Automation\JobsTable.razor:line 412
   at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()
2024-06-12 17:35:21.236 +01:00 [ERR] Unhandled exception in circuit 'yHl-n-MuR5FvSxU0D8P15wxzyzjXd1SvYr_GJb_egtE'.
System.ArgumentException: Requested value 'failed' was not found.
   at System.Enum.TryParseByName[TStorage](RuntimeType enumType, ReadOnlySpan`1 value, Boolean ignoreCase, Boolean throwOnFailure, TStorage& result)
   at System.Enum.TryParseByValueOrName[TUnderlying,TStorage](RuntimeType enumType, ReadOnlySpan`1 value, Boolean ignoreCase, Boolean throwOnFailure, TUnderlying& result)
   at System.Enum.Parse[TEnum](String value, Boolean ignoreCase)
   at System.Enum.Parse[TEnum](String value)
   at PowerShellUniversal.JobsTable.OnParametersSet() in C:\actions-runner\_work\universal\universal\src\Universal.Server\Shared\Automation\JobsTable.razor:line 412
   at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()