-
Notifications
You must be signed in to change notification settings - Fork 43
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
Fix removing the "last" variant of a network for tap changers #1979
Conversation
Signed-off-by: EDWARDS Philippe <edwardsphi@gm0winl197.bureau.si.interne>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suspect same bug in ShuntCompensatorImpl
indeed, I'll look for that line of code in all the files to make sure there are no other bugs |
Signed-off-by: EDWARDS Philippe <edwardsphi@gm0winl197.bureau.si.interne>
Signed-off-by: Geoffroy Jamgotchian <geoffroy.jamgotchian@gmail.com>
… into fix_tap_changer_variant_removal
I would say it is ok now. I searched in the delayed validation PR for other |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot @phiedw for this fix.
Kudos, SonarCloud Quality Gate passed! |
* Fix removing the "last" variant of a network for tap changers * fix same issue with ShuntCompensatorImpl sectionCount Signed-off-by: EDWARDS Philippe <edwardsphi@gm0winl197.bureau.si.interne> Signed-off-by: Geoffroy Jamgotchian <geoffroy.jamgotchian@gmail.com>
* Fix removing the "last" variant of a network for tap changers * fix same issue with ShuntCompensatorImpl sectionCount Signed-off-by: EDWARDS Philippe <edwardsphi@gm0winl197.bureau.si.interne> Signed-off-by: Geoffroy Jamgotchian <geoffroy.jamgotchian@gmail.com>
Signed-off-by: EDWARDS Philippe edwardsphi@gm0winl197.bureau.si.interne
Please check if the PR fulfills these requirements (please use
'[x]'
to check the checkboxes, or submit the PR and then click the checkboxes)Does this PR already have an issue describing the problem ? If so, link to this issue using
'#XXX'
and skip the restNo
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Bug fix
What is the current behavior? (You can also link to an open issue here)
When deleting the network variant with the highest index, the tap changers will lose the wrong number of values for the tap position attribute.
What is the new behavior (if this is a feature change)?
It now loses the expected number of values.
Other information:
(if any of the questions/checkboxes don't apply, please delete them entirely)