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

Config UI duplicate product entries #13709

Merged
merged 4 commits into from
May 3, 2024
Merged

Config UI duplicate product entries #13709

merged 4 commits into from
May 3, 2024

Conversation

naltatis
Copy link
Member

@naltatis naltatis commented May 3, 2024

fixes #13632

@andig schräger Bug. Die func loadTemplates(class Class) Funktion hat zwar class entgegengenommen, aber eigentlich immer in einem Durchlauf die Templates aller Klassen erzeugt. Das war nie ein Problem, da weitere Aufrufe durch den templates[class] != nil Check einfach sofort abgebrochen wurden.

Mit dem Einführen von Circuit kam jetzt allerdings ein Aufruf dazu, für den es noch keinen Eintrag gab. Daher sind die Templates aller Klassen ein weiteres Mal hinzugefügt worden.
Siehe https://github.com/evcc-io/evcc/pull/13207/files#diff-f43b40ea0a36f6de1f9422ee69065a3266654772df0ebe4d4931ce7f7870cd84R12

@naltatis naltatis added the bug Something isn't working label May 3, 2024
@naltatis naltatis requested a review from andig May 3, 2024 09:51
@andig
Copy link
Member

andig commented May 3, 2024

@naltatis warum ist jetzt der Test kaputt?

@naltatis
Copy link
Member Author

naltatis commented May 3, 2024

Liegt nicht am Code. Lokal laufen die sauber durch.

@andig andig merged commit a9a080f into master May 3, 2024
6 of 7 checks passed
@andig andig deleted the fix/duplicate_templates branch May 3, 2024 13:05
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

Successfully merging this pull request may close these issues.

Doppelte Einträge beim Anlegen von Fahrzeug bzw. pv Anlage
2 participants