Closed adamlodge closed 6 years ago
+1 to this issue.
I updated to master as of 2018-08-01 and after making changes to the configuration of the graph nodes and cards, no new nodes or deleted nodes, the relationship between the root and several nodes had been reset to None. This means no further changes can be made (e.g. to fix the missing relationship) as the consistency of the graph is broken in two places and the graph must be saved before switching from the first to the second (and now third and fourth!)
This blocks me from testing the API work, as I can't make the cards to enter data to then test the retrieval.
@adamlodge Can you try to rebuild the graph presented in the ticket? I'm able to create it without any errors. If you still see errors let me know. Perhaps I'm doing something differently in building the graph than you are.
I can only reproduce the error by editing data in the cards and then coming back to the graph view.
I also can't do it in a clean install of master at the moment, as another bug means we can't make new models!
Steps from clean install of current master:
Now New Node's relationship will be gone.
@adamlodge and @azaroth42 I've merged a fix for this into master. Let me know if you see this issue occur again.
Looks good to me. Leaving open to give @azaroth42 a chance to test.
:+1: that the case above is fixed. LGTM to close, and will open a new issue if there's another problem with similar symptoms that aren't addressed by this fix.
Describe the bug When adding a node to an ontology-enabled graph, I get an error telling me that I need to define the ontology property of the new node even when the "relationship to parent" is already defined. I see two problems here:
To Reproduce Steps to reproduce the behavior: Build the graph as described in the screenshot below
Screenshots If applicable, add screenshots to help explain your problem.
Expected behavior A clear and concise description of what you expected to happen.
Your Arches Information
Version used: 4.3 stable testing
Operating System and version (desktop or mobile): osx
Browser Name and version: chrome
Link to your Arches Install (optional):
Additional context Add any other context about the problem here.
Ticket Background