Server Details:
Version: 26.4.2
Build: (build ef892b4/1776994711893/main)
Platform: Linux 6.8.0-107-generic - OpenJDK 64-Bit Server VM 21.0.10 (Temurin-21.0.10+7)
Expected behavior:
When creating an edge with CONTENT {"label": "test", "weight": 42}, the edge should store all provided properties.
Actual behavior:
The edge is created successfully (HTTP 200, valid @Rid returned, correct @in/@out graph structure), but all properties from the CONTENT block are NULL. No error or warning is returned.
The SET syntax works correctly as a workaround.
Steps to reproduce:
CREATE EDGE Edge FROM #1:0 TO #1:1 CONTENT {"label": "test_connection", "weight": 42, "color": "red"};
SELECT label, weight, color FROM Edge;
result:
"records": [
{
"label": null,
"weight": null,
"color": null
}
]
Workaround:
CREATE EDGE BugEdge FROM #1:0 TO #2:0 SET `label` = 'test', `weight` = 42;
records:
"records": [
{"@rid":"#4:0","@type":"Edge","@cat":"e","@in":"#1:1","@out":"#1:0"},
{"@rid":"#4:1","@type":"Edge","@cat":"e","@in":"#1:1","@out":"#1:0","label":"test","weight":42}
]
Server Details:
Version: 26.4.2
Build: (build ef892b4/1776994711893/main)
Platform: Linux 6.8.0-107-generic - OpenJDK 64-Bit Server VM 21.0.10 (Temurin-21.0.10+7)
Expected behavior:
When creating an edge with
CONTENT {"label": "test", "weight": 42}, the edge should store all provided properties.Actual behavior:
The edge is created successfully (HTTP 200, valid @Rid returned, correct @in/@out graph structure), but all properties from the CONTENT block are NULL. No error or warning is returned.
The
SETsyntax works correctly as a workaround.Steps to reproduce:
Workaround:
records: