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

Autogenerate substation fails #259

Closed
Stef3st opened this issue Sep 7, 2023 · 0 comments · Fixed by #260
Closed

Autogenerate substation fails #259

Stef3st opened this issue Sep 7, 2023 · 0 comments · Fixed by #260
Assignees

Comments

@Stef3st
Copy link

Stef3st commented Sep 7, 2023

The autogenerate substation fails in some cases. The cause of this is that a String function gets called on possibly empty array elements. The autogenerate substation also lacks a few newly discovered features. These can be fixed with this ticket.

Acceptance criteria:

  • Fix the bug with empty array elements in the substation names array.
  • Add logging, so that the user gets some feedback when triggering the plugin. Be sure to use the translation files and not just static text.
  • It turns out the substation seperator is different then previously expected. The new rules that need to be implemented are:
    • The substation name will always reserve 5 characters
    • If the name is shorter than 5 characters then the '_' symbol gets appended until the 5 character length is met.
  • Alter documentation in the source code where needed to keep the explaination up-to-date.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging a pull request may close this issue.

1 participant