Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]-console command responses should use CrestronConsole.ConsoleCommandResponse #148

Open
jgutenplan opened this issue Feb 2, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@jgutenplan
Copy link
Contributor

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>

@jgutenplan jgutenplan added the bug Something isn't working label Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant