Skip to content

Commit d186c97

Browse files
Lojjsrenetapopova
andauthored
Rephrase status description of 42I67. (#427)
It is not certain that the query is valid, we can only guarantee that it is parsable. Co-authored-by: Reneta Popova <[email protected]>
1 parent de22f12 commit d186c97

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

modules/ROOT/pages/errors/gql-errors/42I67.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
= 42I67
22

33
== Status description
4-
error: syntax error or access rule violation - unsupported language feature. The query is a valid `CYPHER { <<feat>>2 }` query, but it is run in `CYPHER { <<feat>>1 }`. Consider changing the database default Cypher version using `ALTER DATABASE SET DEFAULT LANGUAGE` or prefix the query with `CYPHER { <<feat>>2 }`.
4+
error: syntax error or access rule violation - unsupported language feature. The query is parsable in `CYPHER { <<version>>2 }`, but it is run in `CYPHER { <<version>>1 }`. Consider changing the database default Cypher version using `ALTER DATABASE SET DEFAULT LANGUAGE` or prefix the query with `CYPHER { <<feat>>2 }`.
55

66
== Example scenario
77

@@ -20,7 +20,7 @@ This error has a cause detailed in xref:errors/gql-errors/42I67.adoc[42I67] and
2020

2121
[source]
2222
----
23-
error: syntax error or access rule violation - unsupported language feature. The query is a valid `CYPHER 25` query, but it is run in `CYPHER 5`. Consider changing the database default Cypher version using `ALTER DATABASE SET DEFAULT LANGUAGE` or prefix the query with `CYPHER 25`.
23+
error: syntax error or access rule violation - unsupported language feature. The query is parsable in `CYPHER 25`, but it is run in `CYPHER 5`. Consider changing the database default Cypher version using `ALTER DATABASE SET DEFAULT LANGUAGE` or prefix the query with `CYPHER 25`.
2424
----
2525

2626
As well as a cause detailed in xref:errors/gql-errors/42I06.adoc[42I06] and status description:

modules/ROOT/pages/errors/gql-errors/index.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1149,7 +1149,7 @@ Status description:: error: syntax error or access rule violation - pattern pars
11491149

11501150
=== xref:errors/gql-errors/42I67.adoc[42I67]
11511151

1152-
Status description:: error: syntax error or access rule violation - unsupported language feature. The query is a valid `CYPHER { <<feat>>2 }` query, but it is run in `CYPHER { <<feat>>1 }`. Consider changing the database default Cypher version using `ALTER DATABASE SET DEFAULT LANGUAGE` or prefix the query with `CYPHER { <<feat>>2 }`.
1152+
Status description:: error: syntax error or access rule violation - unsupported language feature. The query is parsable in `CYPHER { <<version>>2 }`, but it is run in `CYPHER { <<version>>1 }`. Consider changing the database default Cypher version using `ALTER DATABASE SET DEFAULT LANGUAGE` or prefix the query with `CYPHER { <<feat>>2 }`.
11531153

11541154
=== xref:errors/gql-errors/42I68.adoc[42I68]
11551155

modules/ROOT/partials/glossary.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,4 +142,5 @@
142142
[[valueType]]$valueType:: Cypher value type, for example, `STRING`, `BOOLEAN`, `INTEGER`, `LIST<STRING>`, etc.
143143
[[valueTypeList]]$valueTypeList:: A list of Cypher value types.
144144
[[variable]]$variable:: Variable name, for example, `n`.
145-
[[variableList]]$variableList:: A list of variable names, for example, `a, b, c`.
145+
[[variableList]]$variableList:: A list of variable names, for example, `a, b, c`.
146+
[[version]]$version:: A version, for example, `25` in `CYPHER 25`.

0 commit comments

Comments
 (0)