Closed Auriga2 closed 1 month ago
Fixed the exception also in this PR, as it ended up being a few lines of code change.
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
Prerequisites
[ ] Reviewed the checklist
[ ] Reviewed feedback from the "Sonar Cloud" bot. Note that you have to wait for the "CI / Unit Tests") to complete first. Failed Unit tests can be debugged by adding the label "verbose logging" to the GitHub PR.
Description of the Change
Templates can now be deleted (although the null pointer exception is thrown, which will be handled in a separate PR)
The cause was using
File.pathSeparator ( ; )
in file path, which doesn't work with java.io.FILE E.g.C:\Users\user1\.CONSTELLATION\Graph Templates\au.gov.asd.tac.constellation.graph.schema.AnalyticSchemaFactory;New Template 1
doesn't exist to delete. Reverted back to use/
instead.Alternate Designs
Why Should This Be In Core?
No way to delete templates otherwise.
Benefits
Possible Drawbacks
Verification Process
Applicable Issues
https://github.com/constellation-app/constellation/issues/2107