You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 13, 2021. It is now read-only.
Security Analysis Results filters not saved when switching between projects that have respectively precontingencies and postcontingencies in mapdb
#200
Do you want to request a feature or report a bug?
A bug
What is the current behavior?
In the following circumstances, the filters of the security analysis results are not saved.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
Prepare 2 projects with security analyses, where one project has precontingency and the other postcontingency violations. Change the default filter on both projects to show the contingency. Close the GSE and reopen it. Only the filter of the project selected during shutdown is saved, the other is reset.
What is the expected behavior?
Both filters should be saved.
Please tell us about your environment:
PowSyBl Version: 2.5
OS Version: linux
The text was updated successfully, but these errors were encountered:
The filters are stored using the java.util.Preferences API (note: on unix in $HOME/.java/.userPrefs/com/powsybl/gse/security/prefs.xml )
When calling dispose on the SecurityAnalysisViewer, we get the prefs to save but CheckListView getCheckModel().getCheckedIndices() gives an empty list.. Not sure if it's because it's tabbed out or because of the HideSidesPane or something else..
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Do you want to request a feature or report a bug?
A bug
What is the current behavior?
In the following circumstances, the filters of the security analysis results are not saved.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
Prepare 2 projects with security analyses, where one project has precontingency and the other postcontingency violations. Change the default filter on both projects to show the contingency. Close the GSE and reopen it. Only the filter of the project selected during shutdown is saved, the other is reset.
What is the expected behavior?
Both filters should be saved.
Please tell us about your environment:
The text was updated successfully, but these errors were encountered: