-
Notifications
You must be signed in to change notification settings - Fork 24
[BUG]-console command responses should use CrestronConsole.ConsoleCommandResponse #148
Description
Was this bug identified in a specific build version?
main branch
Describe the bug
Some console commands in essentials are using debug.console instead of CrestronConsole.ConsoleCommandResponse. PepperDash UDM requires that the commands return a prompt after the response for parsing. The debug print does not return a prompt causing issues when UDM polls Essentials user commands.
Currently appdebug is the request for UDM, but all console commands in help -user should be updated to use CrestronConsole.ConsoleCommandResponse.
To Reproduce
see below example of appdebug which prints to console but does not return a prompt.
RMC3>appdebug
RMC3>AppDebug level = 0
Expected behavior
example in code: essentials-framework/ControlSystem.cs command portal info on line 50. Note the prompt returned after the command.
RMC3>portalinfo
This system can be found at the following URLs:
System URL: https://portal-demo.cloud.pepperdash.com/systems
Template URL: https://portal-demo.cloud.pepperdash.com/templates
RMC3>