Describe the bug
When using the switcher object, the plugin throws an invalid cast exception when the switcher object configuration includes input and output labels.
This issue has been identified in release 2.0.10.
Stacktrace
To Reproduce
Steps to reproduce the behavior:
Configured the plugin to use a switcherObject (see configuration snippets below)
When Essentials is loading the plugin, there will be an invalid cast exception thrown if the switcherInputs and switcherOutputs have a label property configured.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
The configuration that causes the invalid cast exception
Describe the bug When using the switcher object, the plugin throws an invalid cast exception when the switcher object configuration includes input and output labels.
This issue has been identified in release 2.0.10.
Stacktrace
To Reproduce Steps to reproduce the behavior:
switcherInputs
andswitcherOutputs
have alabel
property configured.Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Additional context The configuration that causes the invalid cast exception
The configuration that resolves the invalid cast exception