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
When an element in the json crac is wrong (for example a network action with one elementary action pointing to a network element that does not exist in the network), the json import fails and produces a null CRAC.
Describe the expected behavior
Do like other format importers: ignore the wrong elements and log the issue in the CracCreationContext.
It may actually be hard because of the usage of the JsonParser that reads the file from top to bottom (meaning that when we face an issue, we should exit the current element "gracefully").
Describe the motivation
More robust importer
Extra Information
A basic test case : network action "complexNetworkActionId" should be ignored because one of its elementary actions is wrong
Describe the current behavior
When an element in the json crac is wrong (for example a network action with one elementary action pointing to a network element that does not exist in the network), the json import fails and produces a null CRAC.
Describe the expected behavior
Do like other format importers: ignore the wrong elements and log the issue in the CracCreationContext.
It may actually be hard because of the usage of the JsonParser that reads the file from top to bottom (meaning that when we face an issue, we should exit the current element "gracefully").
Describe the motivation
More robust importer
Extra Information
A basic test case : network action "complexNetworkActionId" should be ignored because one of its elementary actions is wrong
@test
crac-partial.json
The text was updated successfully, but these errors were encountered: