powsybl / powsybl-gse

JavaFX UI for powsybl framework
https://www.powsybl.org
Mozilla Public License 2.0
12 stars 4 forks source link

Fix refresh project pane handling envents bug #275

Closed nashousni closed 4 years ago

nashousni commented 4 years ago

Signed-off-by: Nassirou NAMBIEMA nassirou.nambiena@rte-france.com

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 rest no

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 creating a new node in the tree view of the project pane, the tree item first considers the value of the node as a string, therefore when updating the projectNode contained by the item, a ClassCastException is thrown.

What is the new behavior (if this is a feature change)?

Does this PR introduce a breaking change or deprecate an API? If yes, check the following:

Other information:

(if any of the questions/checkboxes don't apply, please delete them entirely)

sonarcloud[bot] commented 4 years ago

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication