You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/ROOT/pages/errors/gql-errors/22NC2.adoc
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
= 22NC2
2
2
3
3
== Status description
4
-
error: data exception - node element type is empty. The node element type `{ <<label>> }` must contain one or more implied labels, or define at least one property type.
4
+
error: data exception - node element type is ineffectual. The node element type `{ <<label>> }` must contain one or more implied labels, or define at least one property type.
5
5
6
6
== Explanation
7
7
When defining a graph type, node element types have some effect.
@@ -21,7 +21,7 @@ An error will be thrown with GQLSTATUS 22NC2 and the status description:
21
21
22
22
[source]
23
23
----
24
-
error: data exception - node element type is empty. The node element type `Node` must contain one or more implied labels, or define at least one property type.
24
+
error: data exception - node element type is ineffectual. The node element type `Node` must contain one or more implied labels, or define at least one property type.
25
25
----
26
26
27
27
This can be corrected by defining at least one property type or by adding an implied label e.g.:
Copy file name to clipboardExpand all lines: modules/ROOT/pages/errors/gql-errors/22NC3.adoc
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,14 @@
1
1
= 22NC3
2
2
3
3
== Status description
4
-
error: data exception - relationship element type is empty. The relationship element type `{ <<relType>> }` must define a node element type for source or destination, or define at least one property type.
4
+
error: data exception - relationship element type is ineffectual. The relationship element type `{ <<relType>> }` must define a source or destination, or at least one property type.
5
5
6
6
== Explanation
7
-
When defining a graph type, relationship element types must have some effect.
8
-
Ineffectual relationship element types are not permitted.
7
+
When defining a graph type, relationship element types must have some effect. To be effective, a relationship element type must define at least one of the following:
8
+
9
+
* A source node element type or label
10
+
* A destination node element type or label
11
+
* At least one property type
9
12
10
13
== Example scenario
11
14
For example, try to set a graph type with :
@@ -21,7 +24,7 @@ An error will be thrown with GQLSTATUS 22NC3 and the status description:
21
24
22
25
[source]
23
26
----
24
-
error: data exception - relationship element type is empty. The relationship element type `REL` must define a node element type for source or destination, or define at least one property type.
27
+
error: data exception - relationship element type is ineffectual. The relationship element type `REL` must define a source or destination, or at least one property type.
25
28
----
26
29
27
30
This can be corrected by defining at least one property type or by adding a node element type e.g.:
0 commit comments