constellation icon indicating copy to clipboard operation
constellation copied to clipboard

Issue in the graph created using RecordStoreQueryPlugin when identical nodes present.

Open Auriga2 opened this issue 3 years ago • 6 comments

Description

Cannot split SOME of the nodes created by Import From RDF plugin which uses RecordStoreQueryPlugin. It throws the error Attempt to create transaction from source vertex that does not exist

Steps to Reproduce

  1. Open Constellation from the Constellation Adaptors project. In Data Access View Run the Import From RDF plugin with below parameters: Input File: https://dbpedia.org/sparql?default-graph-uri=http%3A%2F%2Fdbpedia.org&query=DESCRIBE+%3Chttp%3A%2F%2Fdbpedia.org%2Fresource%2FNicholas_Kyrgios%3E&format=text%2Fplain&CXML_redir_for_subjs=121&CXML_redir_for_hrefs=&timeout=30000&debug=on&run=+Run+Query+ File Format: N-Triples image

  2. Select the below node and run the Split Nodes Based on Identifier plugin with _ as the split character image

The error below is thrown : image Because: image

But if you save the graph, reopen and try the same, all nodes split without any error, because the id2position[] is now rearranged: image

Expected behaviour: No error is thrown when splitting. Actual behaviour: An error is thrown when splitting. Reproduces how often: 100% but only on some nodes, based on the arrangement.

Additional Information

n/a

Auriga2 avatar Oct 12 '20 02:10 Auriga2