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

Console class doesn't check if component already exists #102

Open
adeguet1 opened this issue Sep 8, 2018 · 0 comments
Open

Console class doesn't check if component already exists #102

adeguet1 opened this issue Sep 8, 2018 · 0 comments
Assignees
Labels

Comments

@adeguet1
Copy link
Contributor

adeguet1 commented Sep 8, 2018

The console class can create and add components based on the configuration file. It doesn't check if there is already a component with the same name before adding it to the component manager (using AddComponent) which can lead to strange behaviors if the user doesn't see the warning when the console starts. The code should first check if the component exists, and if so report this as a fatal error (either exit or throw exception).

@adeguet1 adeguet1 added the bug label Sep 8, 2018
@adeguet1 adeguet1 self-assigned this Sep 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant