From ac92e3012fc75a5da3356eac58909221feddf719 Mon Sep 17 00:00:00 2001 From: Joel Bergstrand Date: Wed, 23 Apr 2025 15:55:21 +0200 Subject: [PATCH 1/8] Final surface codes --- modules/ROOT/pages/errors/gql-errors/42I54.adoc | 11 +++++++++++ modules/ROOT/pages/errors/gql-errors/42I55.adoc | 11 +++++++++++ modules/ROOT/pages/errors/gql-errors/42I56.adoc | 11 +++++++++++ modules/ROOT/pages/errors/gql-errors/42I57.adoc | 11 +++++++++++ modules/ROOT/pages/errors/gql-errors/42I58.adoc | 11 +++++++++++ 5 files changed, 55 insertions(+) create mode 100644 modules/ROOT/pages/errors/gql-errors/42I54.adoc create mode 100644 modules/ROOT/pages/errors/gql-errors/42I55.adoc create mode 100644 modules/ROOT/pages/errors/gql-errors/42I56.adoc create mode 100644 modules/ROOT/pages/errors/gql-errors/42I57.adoc create mode 100644 modules/ROOT/pages/errors/gql-errors/42I58.adoc diff --git a/modules/ROOT/pages/errors/gql-errors/42I54.adoc b/modules/ROOT/pages/errors/gql-errors/42I54.adoc new file mode 100644 index 00000000..4c38b3a2 --- /dev/null +++ b/modules/ROOT/pages/errors/gql-errors/42I54.adoc @@ -0,0 +1,11 @@ +42I54 + +== Status description +error: syntax error or access rule violation - invalid use of `INSERT`. `{ <> }` is not allowed in `INSERT`. Use `CREATE` or `{ <> }`. + +ifndef::backend-pdf[] +[discrete.glossary] +== Glossary + +include::partial$glossary.adoc[] +endif::[] diff --git a/modules/ROOT/pages/errors/gql-errors/42I55.adoc b/modules/ROOT/pages/errors/gql-errors/42I55.adoc new file mode 100644 index 00000000..dbbd0b11 --- /dev/null +++ b/modules/ROOT/pages/errors/gql-errors/42I55.adoc @@ -0,0 +1,11 @@ +42I55 + +== Status description +error: syntax error or access rule violation - invalid use of dynamic label or type. Dynamic `{ <> }` are not allowed in `{ <> }`. + +ifndef::backend-pdf[] +[discrete.glossary] +== Glossary + +include::partial$glossary.adoc[] +endif::[] diff --git a/modules/ROOT/pages/errors/gql-errors/42I56.adoc b/modules/ROOT/pages/errors/gql-errors/42I56.adoc new file mode 100644 index 00000000..29c55743 --- /dev/null +++ b/modules/ROOT/pages/errors/gql-errors/42I56.adoc @@ -0,0 +1,11 @@ +42I56 + +== Status description +error: syntax error or access rule violation - invalid relationship direction. Only directed relationships are supported in `{ <>}`. + +ifndef::backend-pdf[] +[discrete.glossary] +== Glossary + +include::partial$glossary.adoc[] +endif::[] diff --git a/modules/ROOT/pages/errors/gql-errors/42I57.adoc b/modules/ROOT/pages/errors/gql-errors/42I57.adoc new file mode 100644 index 00000000..f7ca9f24 --- /dev/null +++ b/modules/ROOT/pages/errors/gql-errors/42I57.adoc @@ -0,0 +1,11 @@ +42I57 + +== Status description +error: syntax error or access rule violation - invalid query ending. `{<>}` cannot contain a query ending with `{<>}`. + +ifndef::backend-pdf[] +[discrete.glossary] +== Glossary + +include::partial$glossary.adoc[] +endif::[] \ No newline at end of file diff --git a/modules/ROOT/pages/errors/gql-errors/42I58.adoc b/modules/ROOT/pages/errors/gql-errors/42I58.adoc new file mode 100644 index 00000000..aa47916f --- /dev/null +++ b/modules/ROOT/pages/errors/gql-errors/42I58.adoc @@ -0,0 +1,11 @@ +42I58 + +== Status description +error: syntax error or access rule violation - invalid entity reference. Entity, `{<>}`, cannot be created and referenced in the same clause. + +ifndef::backend-pdf[] +[discrete.glossary] +== Glossary + +include::partial$glossary.adoc[] +endif::[] \ No newline at end of file From e1d7992c2d14dda9a3fbff9fd2fbb647e0780344 Mon Sep 17 00:00:00 2001 From: Joel Bergstrand Date: Thu, 24 Apr 2025 10:20:19 +0200 Subject: [PATCH 2/8] Added 42I59 --- modules/ROOT/pages/errors/gql-errors/42I59.adoc | 11 +++++++++++ modules/ROOT/partials/glossary.adoc | 1 + 2 files changed, 12 insertions(+) create mode 100644 modules/ROOT/pages/errors/gql-errors/42I59.adoc diff --git a/modules/ROOT/pages/errors/gql-errors/42I59.adoc b/modules/ROOT/pages/errors/gql-errors/42I59.adoc new file mode 100644 index 00000000..83dad857 --- /dev/null +++ b/modules/ROOT/pages/errors/gql-errors/42I59.adoc @@ -0,0 +1,11 @@ +42I59 + +== Status description +error: syntax error or access rule violation - dynamic entity type not allowed. Dynamic label and types are only allowed in { <> } clauses. + +ifndef::backend-pdf[] +[discrete.glossary] +== Glossary + +include::partial$glossary.adoc[] +endif::[] \ No newline at end of file diff --git a/modules/ROOT/partials/glossary.adoc b/modules/ROOT/partials/glossary.adoc index 6a803e18..708e3233 100644 --- a/modules/ROOT/partials/glossary.adoc +++ b/modules/ROOT/partials/glossary.adoc @@ -12,6 +12,7 @@ [[cause]]$cause:: Freeform description of what caused the error. [[cfgSetting]]$cfgSetting:: Configuration setting key, for example, `server.https.enabled`. [[clause]]$clause:: A Cypher clause, for example, `USE`, `MATCH`. +[[clauseList]]$clause:: A list of Cypher clauses, for example, `USE`, `MATCH`. [[cmd]]$cmd:: A Cypher command, for example, `DROP DATABASE`, `PROFILE`, `SHOW PROCEDURES`. [[component]]$component:: A component of something, for example, hours/minutes within a time, a subset input within the whole input, `TOPOLOGY` clause within the whole `CREATE/ALTER DB ... SET TOPOLOGY`, etc. // we need to change the parameter $component in 51N27 to `$feat` maybe. From 47721fe11ef60285cffd530b78429add936478ee Mon Sep 17 00:00:00 2001 From: Joel Bergstrand Date: Thu, 24 Apr 2025 10:36:14 +0200 Subject: [PATCH 3/8] updated 42I55 --- modules/ROOT/pages/errors/gql-errors/42I55.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/errors/gql-errors/42I55.adoc b/modules/ROOT/pages/errors/gql-errors/42I55.adoc index dbbd0b11..ef186e2a 100644 --- a/modules/ROOT/pages/errors/gql-errors/42I55.adoc +++ b/modules/ROOT/pages/errors/gql-errors/42I55.adoc @@ -1,7 +1,7 @@ 42I55 == Status description -error: syntax error or access rule violation - invalid use of dynamic label or type. Dynamic `{ <> }` are not allowed in `{ <> }`. +error: syntax error or access rule violation - invalid use of dynamic label or type. Dynamic `{ <> }` using `$any()` are not allowed in `{ <> }`. ifndef::backend-pdf[] [discrete.glossary] From 4d01cdfd925f8cf1d464838e65791126212e8682 Mon Sep 17 00:00:00 2001 From: Joel Bergstrand Date: Thu, 24 Apr 2025 11:52:21 +0200 Subject: [PATCH 4/8] Operations error codes --- modules/ROOT/pages/errors/gql-errors/42I60.adoc | 11 +++++++++++ modules/ROOT/pages/errors/gql-errors/42I61.adoc | 11 +++++++++++ 2 files changed, 22 insertions(+) create mode 100644 modules/ROOT/pages/errors/gql-errors/42I60.adoc create mode 100644 modules/ROOT/pages/errors/gql-errors/42I61.adoc diff --git a/modules/ROOT/pages/errors/gql-errors/42I60.adoc b/modules/ROOT/pages/errors/gql-errors/42I60.adoc new file mode 100644 index 00000000..0be14c69 --- /dev/null +++ b/modules/ROOT/pages/errors/gql-errors/42I60.adoc @@ -0,0 +1,11 @@ +42I60 + +== Status description +error: syntax error or access rule violation - invalid glob escaping. Each part of the glob (a block of text up until a dot) must either be fully escaped or not escaped at all. + +ifndef::backend-pdf[] +[discrete.glossary] +== Glossary + +include::partial$glossary.adoc[] +endif::[] \ No newline at end of file diff --git a/modules/ROOT/pages/errors/gql-errors/42I61.adoc b/modules/ROOT/pages/errors/gql-errors/42I61.adoc new file mode 100644 index 00000000..983ac321 --- /dev/null +++ b/modules/ROOT/pages/errors/gql-errors/42I61.adoc @@ -0,0 +1,11 @@ +42I61 + +== Status description +error: syntax error or access rule violation - missing LOOKUP INDEX function name. Missing function name for the LOOKUP INDEX. + +ifndef::backend-pdf[] +[discrete.glossary] +== Glossary + +include::partial$glossary.adoc[] +endif::[] \ No newline at end of file From 94f5396e6457693592ddf1819407f90e0979607a Mon Sep 17 00:00:00 2001 From: JoelBergstrand Date: Mon, 28 Apr 2025 08:30:19 +0200 Subject: [PATCH 5/8] Apply suggestions from code review Co-authored-by: Reneta Popova --- modules/ROOT/pages/errors/gql-errors/42I54.adoc | 2 +- modules/ROOT/pages/errors/gql-errors/42I55.adoc | 2 +- modules/ROOT/pages/errors/gql-errors/42I56.adoc | 2 +- modules/ROOT/pages/errors/gql-errors/42I57.adoc | 2 +- modules/ROOT/pages/errors/gql-errors/42I58.adoc | 2 +- modules/ROOT/pages/errors/gql-errors/42I59.adoc | 2 +- modules/ROOT/pages/errors/gql-errors/42I60.adoc | 2 +- modules/ROOT/pages/errors/gql-errors/42I61.adoc | 2 +- modules/ROOT/partials/glossary.adoc | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/modules/ROOT/pages/errors/gql-errors/42I54.adoc b/modules/ROOT/pages/errors/gql-errors/42I54.adoc index 4c38b3a2..12868e3f 100644 --- a/modules/ROOT/pages/errors/gql-errors/42I54.adoc +++ b/modules/ROOT/pages/errors/gql-errors/42I54.adoc @@ -1,4 +1,4 @@ -42I54 += 42I54 == Status description error: syntax error or access rule violation - invalid use of `INSERT`. `{ <> }` is not allowed in `INSERT`. Use `CREATE` or `{ <> }`. diff --git a/modules/ROOT/pages/errors/gql-errors/42I55.adoc b/modules/ROOT/pages/errors/gql-errors/42I55.adoc index ef186e2a..2d7d5685 100644 --- a/modules/ROOT/pages/errors/gql-errors/42I55.adoc +++ b/modules/ROOT/pages/errors/gql-errors/42I55.adoc @@ -1,4 +1,4 @@ -42I55 += 42I55 == Status description error: syntax error or access rule violation - invalid use of dynamic label or type. Dynamic `{ <> }` using `$any()` are not allowed in `{ <> }`. diff --git a/modules/ROOT/pages/errors/gql-errors/42I56.adoc b/modules/ROOT/pages/errors/gql-errors/42I56.adoc index 29c55743..5d5b07e4 100644 --- a/modules/ROOT/pages/errors/gql-errors/42I56.adoc +++ b/modules/ROOT/pages/errors/gql-errors/42I56.adoc @@ -1,4 +1,4 @@ -42I56 += 42I56 == Status description error: syntax error or access rule violation - invalid relationship direction. Only directed relationships are supported in `{ <>}`. diff --git a/modules/ROOT/pages/errors/gql-errors/42I57.adoc b/modules/ROOT/pages/errors/gql-errors/42I57.adoc index f7ca9f24..94cb92e5 100644 --- a/modules/ROOT/pages/errors/gql-errors/42I57.adoc +++ b/modules/ROOT/pages/errors/gql-errors/42I57.adoc @@ -1,4 +1,4 @@ -42I57 += 42I57 == Status description error: syntax error or access rule violation - invalid query ending. `{<>}` cannot contain a query ending with `{<>}`. diff --git a/modules/ROOT/pages/errors/gql-errors/42I58.adoc b/modules/ROOT/pages/errors/gql-errors/42I58.adoc index aa47916f..594e1fc3 100644 --- a/modules/ROOT/pages/errors/gql-errors/42I58.adoc +++ b/modules/ROOT/pages/errors/gql-errors/42I58.adoc @@ -1,4 +1,4 @@ -42I58 += 42I58 == Status description error: syntax error or access rule violation - invalid entity reference. Entity, `{<>}`, cannot be created and referenced in the same clause. diff --git a/modules/ROOT/pages/errors/gql-errors/42I59.adoc b/modules/ROOT/pages/errors/gql-errors/42I59.adoc index 83dad857..78ec5ed9 100644 --- a/modules/ROOT/pages/errors/gql-errors/42I59.adoc +++ b/modules/ROOT/pages/errors/gql-errors/42I59.adoc @@ -1,4 +1,4 @@ -42I59 += 42I59 == Status description error: syntax error or access rule violation - dynamic entity type not allowed. Dynamic label and types are only allowed in { <> } clauses. diff --git a/modules/ROOT/pages/errors/gql-errors/42I60.adoc b/modules/ROOT/pages/errors/gql-errors/42I60.adoc index 0be14c69..3a16029d 100644 --- a/modules/ROOT/pages/errors/gql-errors/42I60.adoc +++ b/modules/ROOT/pages/errors/gql-errors/42I60.adoc @@ -1,4 +1,4 @@ -42I60 += 42I60 == Status description error: syntax error or access rule violation - invalid glob escaping. Each part of the glob (a block of text up until a dot) must either be fully escaped or not escaped at all. diff --git a/modules/ROOT/pages/errors/gql-errors/42I61.adoc b/modules/ROOT/pages/errors/gql-errors/42I61.adoc index 983ac321..15f287ba 100644 --- a/modules/ROOT/pages/errors/gql-errors/42I61.adoc +++ b/modules/ROOT/pages/errors/gql-errors/42I61.adoc @@ -1,4 +1,4 @@ -42I61 += 42I61 == Status description error: syntax error or access rule violation - missing LOOKUP INDEX function name. Missing function name for the LOOKUP INDEX. diff --git a/modules/ROOT/partials/glossary.adoc b/modules/ROOT/partials/glossary.adoc index 708e3233..f7273ea2 100644 --- a/modules/ROOT/partials/glossary.adoc +++ b/modules/ROOT/partials/glossary.adoc @@ -12,7 +12,7 @@ [[cause]]$cause:: Freeform description of what caused the error. [[cfgSetting]]$cfgSetting:: Configuration setting key, for example, `server.https.enabled`. [[clause]]$clause:: A Cypher clause, for example, `USE`, `MATCH`. -[[clauseList]]$clause:: A list of Cypher clauses, for example, `USE`, `MATCH`. +[[clauseList]]$clause:: A list of Cypher clauses, for example, `USE, MATCH`. [[cmd]]$cmd:: A Cypher command, for example, `DROP DATABASE`, `PROFILE`, `SHOW PROCEDURES`. [[component]]$component:: A component of something, for example, hours/minutes within a time, a subset input within the whole input, `TOPOLOGY` clause within the whole `CREATE/ALTER DB ... SET TOPOLOGY`, etc. // we need to change the parameter $component in 51N27 to `$feat` maybe. From c09a4a67bbd3e9c346c8f4678b33c7a08435c389 Mon Sep 17 00:00:00 2001 From: Joel Bergstrand Date: Mon, 28 Apr 2025 08:39:19 +0200 Subject: [PATCH 6/8] Added codes to gql status index --- .../ROOT/pages/errors/gql-errors/index.adoc | 36 +++++++++++++++++-- 1 file changed, 33 insertions(+), 3 deletions(-) diff --git a/modules/ROOT/pages/errors/gql-errors/index.adoc b/modules/ROOT/pages/errors/gql-errors/index.adoc index 989a1e70..261c0998 100644 --- a/modules/ROOT/pages/errors/gql-errors/index.adoc +++ b/modules/ROOT/pages/errors/gql-errors/index.adoc @@ -892,7 +892,7 @@ Status description:: error: syntax error or access rule violation - invalid use === xref:errors/gql-errors/42I30.adoc[42I30] -Status description:: error: syntax error or access rule violation - invalid use of label expressions. Label expressions cannot be used in `{ <> }`. +Status description:: error: syntax error or access rule violation - invalid use of label expressions. Label expressions cannot be used in `{ <> }`. === xref:errors/gql-errors/42I31.adoc[42I31] @@ -978,11 +978,41 @@ Status description:: info: invalid call signature. The procedure or function `{ Status description:: error: syntax error or access rule violation - no longer valid syntax. `{ <> }` - === xref:errors/gql-errors/42I53.adoc[42I53] Status description:: error: syntax error or access rule violation - unsupported coordinate type. Unknown coordinate type: `{ <> }`. +=== xref:errors/gql-errors/42I54.adoc[42I54] + +Status description:: error: syntax error or access rule violation - invalid use of `INSERT`. `{ <> }` is not allowed in `INSERT`. Use `CREATE` or `{ <> }`. + +=== xref:errors/gql-errors/42I55.adoc[42I55] + +Status description:: error: syntax error or access rule violation - invalid use of dynamic label or type. Dynamic `{ <> }` using `$any()` are not allowed in `{ <> }`. + +=== xref:errors/gql-errors/42I56.adoc[42I56] + +Status description:: error: syntax error or access rule violation - invalid relationship direction. Only directed relationships are supported in `{ <>}`. + +=== xref:errors/gql-errors/42I57.adoc[42I57] + +Status description:: error: syntax error or access rule violation - invalid query ending. `{<>}` cannot contain a query ending with `{<>}`. + +=== xref:errors/gql-errors/42I58.adoc[42I58] + +Status description:: error: syntax error or access rule violation - invalid entity reference. Entity, `{<>}`, cannot be created and referenced in the same clause. + +=== xref:errors/gql-errors/42I59.adoc[42I59] + +Status description:: error: syntax error or access rule violation - dynamic entity type not allowed. Dynamic label and types are only allowed in { <> } clauses. + +=== xref:errors/gql-errors/42I60.adoc[42I60] + +Status description:: error: syntax error or access rule violation - invalid glob escaping. Each part of the glob (a block of text up until a dot) must either be fully escaped or not escaped at all. + +=== xref:errors/gql-errors/42I60.adoc[42I61] + +Status description:: error: syntax error or access rule violation - missing LOOKUP INDEX function name. Missing function name for the LOOKUP INDEX. [role=label--changed-2025.03] === xref:errors/gql-errors/42N00.adoc[42N00] @@ -1099,7 +1129,7 @@ Status description:: error: syntax error or access rule violation - missing `WIT === xref:errors/gql-errors/42N25.adoc[42N25] -Status description:: error: syntax error or access rule violation - missing `YIELD`. Procedure call inside a query does not support naming results implicitly. Use `YIELD` instead. +Status description:: error: syntax error or access rule violation - missing `YIELD`. Procedure call inside a query does not support naming results implicitly. Use `YIELD` instead. === xref:errors/gql-errors/42N26.adoc[42N26] From c21d1f066f19794d24932733e30cd3a98fd894fd Mon Sep 17 00:00:00 2001 From: Joel Bergstrand Date: Mon, 28 Apr 2025 08:42:33 +0200 Subject: [PATCH 7/8] Added to content nav --- modules/ROOT/content-nav.adoc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/ROOT/content-nav.adoc b/modules/ROOT/content-nav.adoc index eea78640..9196393d 100644 --- a/modules/ROOT/content-nav.adoc +++ b/modules/ROOT/content-nav.adoc @@ -242,6 +242,14 @@ **** xref:errors/gql-errors/42I51.adoc[] **** xref:errors/gql-errors/42I52.adoc[] **** xref:errors/gql-errors/42I53.adoc[] +**** xref:errors/gql-errors/42I54.adoc[] +**** xref:errors/gql-errors/42I55.adoc[] +**** xref:errors/gql-errors/42I56.adoc[] +**** xref:errors/gql-errors/42I57.adoc[] +**** xref:errors/gql-errors/42I58.adoc[] +**** xref:errors/gql-errors/42I59.adoc[] +**** xref:errors/gql-errors/42I60.adoc[] +**** xref:errors/gql-errors/42I61.adoc[] **** xref:errors/gql-errors/42N00.adoc[] **** xref:errors/gql-errors/42N01.adoc[] **** xref:errors/gql-errors/42N02.adoc[] From eff512a10f65c21d7a097fb911f973ae5d158ce6 Mon Sep 17 00:00:00 2001 From: Reneta Popova Date: Mon, 28 Apr 2025 10:17:27 +0100 Subject: [PATCH 8/8] found missing backticks --- modules/ROOT/pages/errors/gql-errors/42I59.adoc | 2 +- modules/ROOT/pages/errors/gql-errors/index.adoc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ROOT/pages/errors/gql-errors/42I59.adoc b/modules/ROOT/pages/errors/gql-errors/42I59.adoc index 78ec5ed9..1ca1f149 100644 --- a/modules/ROOT/pages/errors/gql-errors/42I59.adoc +++ b/modules/ROOT/pages/errors/gql-errors/42I59.adoc @@ -1,7 +1,7 @@ = 42I59 == Status description -error: syntax error or access rule violation - dynamic entity type not allowed. Dynamic label and types are only allowed in { <> } clauses. +error: syntax error or access rule violation - dynamic entity type not allowed. Dynamic label and types are only allowed in `{ <> }` clauses. ifndef::backend-pdf[] [discrete.glossary] diff --git a/modules/ROOT/pages/errors/gql-errors/index.adoc b/modules/ROOT/pages/errors/gql-errors/index.adoc index 261c0998..0dfdfd04 100644 --- a/modules/ROOT/pages/errors/gql-errors/index.adoc +++ b/modules/ROOT/pages/errors/gql-errors/index.adoc @@ -1004,7 +1004,7 @@ Status description:: error: syntax error or access rule violation - invalid enti === xref:errors/gql-errors/42I59.adoc[42I59] -Status description:: error: syntax error or access rule violation - dynamic entity type not allowed. Dynamic label and types are only allowed in { <> } clauses. +Status description:: error: syntax error or access rule violation - dynamic entity type not allowed. Dynamic label and types are only allowed in `{ <> }` clauses. === xref:errors/gql-errors/42I60.adoc[42I60]