From eb2aae4a02c3ddc4da298b914475a5e660997d52 Mon Sep 17 00:00:00 2001 From: Pontus Melke Date: Mon, 15 Sep 2025 16:03:52 +0200 Subject: [PATCH 1/8] Add error code for operations that require implicit transaction --- modules/ROOT/content-nav.adoc | 1 + modules/ROOT/pages/errors/gql-errors/22N17.adoc | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 modules/ROOT/pages/errors/gql-errors/22N17.adoc diff --git a/modules/ROOT/content-nav.adoc b/modules/ROOT/content-nav.adoc index 62efe6d8..9d8fefe5 100644 --- a/modules/ROOT/content-nav.adoc +++ b/modules/ROOT/content-nav.adoc @@ -175,6 +175,7 @@ **** xref:errors/gql-errors/25N14.adoc[] **** xref:errors/gql-errors/25N15.adoc[] **** xref:errors/gql-errors/25N16.adoc[] +**** xref:errors/gql-errors/25N17.adoc[] *** xref:errors/gql-errors/index.adoc#invalid-transaction-termination[Invalid transaction termination] **** xref:errors/gql-errors/2DN01.adoc[] **** xref:errors/gql-errors/2DN02.adoc[] diff --git a/modules/ROOT/pages/errors/gql-errors/22N17.adoc b/modules/ROOT/pages/errors/gql-errors/22N17.adoc new file mode 100644 index 00000000..2f1a8b40 --- /dev/null +++ b/modules/ROOT/pages/errors/gql-errors/22N17.adoc @@ -0,0 +1,13 @@ +:page-role: new-2025.10 + += 22N17 + +== Status description +error: The attempted operation requires an implicit transaction. + +ifndef::backend-pdf[] +[discrete.glossary] +== Glossary + +include::partial$glossary.adoc[] +endif::[] From 567bd9394d8f23fb5e1fd4463280acbfd0631f89 Mon Sep 17 00:00:00 2001 From: Reneta Popova Date: Tue, 16 Sep 2025 11:27:29 +0100 Subject: [PATCH 2/8] regenerate index file --- modules/ROOT/pages/errors/gql-errors/index.adoc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/ROOT/pages/errors/gql-errors/index.adoc b/modules/ROOT/pages/errors/gql-errors/index.adoc index d9ebd090..b837e9ce 100644 --- a/modules/ROOT/pages/errors/gql-errors/index.adoc +++ b/modules/ROOT/pages/errors/gql-errors/index.adoc @@ -225,6 +225,11 @@ Status description:: error: data exception - invalid temporal component. Cannot Status description:: error: data exception - invalid import value. Importing entity values to a graph with a USE clause is not supported. Attempted to import `{ <> }` to `{ <> }`. +[role=label--new-2025.10] +=== xref:errors/gql-errors/22N17.adoc[22N17] + +Status description:: error: The attempted operation requires an implicit transaction. + === xref:errors/gql-errors/22N18.adoc[22N18] Status description:: error: data exception - incomplete spatial value. A `{ <> }` POINT must contain `{ <> }`. From 2d0b7c21e6e1f3968cf9a84f844b462ba7ea3a34 Mon Sep 17 00:00:00 2001 From: Reneta Popova Date: Tue, 16 Sep 2025 11:41:35 +0100 Subject: [PATCH 3/8] replace 22N17 with 25N17 --- .../pages/errors/gql-errors/{22N17.adoc => 25N17.adoc} | 2 +- modules/ROOT/pages/errors/gql-errors/index.adoc | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) rename modules/ROOT/pages/errors/gql-errors/{22N17.adoc => 25N17.adoc} (96%) diff --git a/modules/ROOT/pages/errors/gql-errors/22N17.adoc b/modules/ROOT/pages/errors/gql-errors/25N17.adoc similarity index 96% rename from modules/ROOT/pages/errors/gql-errors/22N17.adoc rename to modules/ROOT/pages/errors/gql-errors/25N17.adoc index 2f1a8b40..13255c0c 100644 --- a/modules/ROOT/pages/errors/gql-errors/22N17.adoc +++ b/modules/ROOT/pages/errors/gql-errors/25N17.adoc @@ -1,6 +1,6 @@ :page-role: new-2025.10 -= 22N17 += 25N17 == Status description error: The attempted operation requires an implicit transaction. diff --git a/modules/ROOT/pages/errors/gql-errors/index.adoc b/modules/ROOT/pages/errors/gql-errors/index.adoc index b837e9ce..f1c8b5c7 100644 --- a/modules/ROOT/pages/errors/gql-errors/index.adoc +++ b/modules/ROOT/pages/errors/gql-errors/index.adoc @@ -225,11 +225,6 @@ Status description:: error: data exception - invalid temporal component. Cannot Status description:: error: data exception - invalid import value. Importing entity values to a graph with a USE clause is not supported. Attempted to import `{ <> }` to `{ <> }`. -[role=label--new-2025.10] -=== xref:errors/gql-errors/22N17.adoc[22N17] - -Status description:: error: The attempted operation requires an implicit transaction. - === xref:errors/gql-errors/22N18.adoc[22N18] Status description:: error: data exception - incomplete spatial value. A `{ <> }` POINT must contain `{ <> }`. @@ -722,6 +717,11 @@ Status description:: error: invalid transaction state - transaction termination Status description:: error: invalid transaction state - transaction termination transient error. The transaction has been terminated. Retry your operation in a new transaction, and you should see a successful result. Reson: `{ <> }` +[role=label--new-2025.10] +=== xref:errors/gql-errors/25N17.adoc[25N17] + +Status description:: error: The attempted operation requires an implicit transaction. + [[invalid-transaction-termination]] == Invalid transaction termination From a7d125d1ae9deb987772a533f6e7d4a148557330 Mon Sep 17 00:00:00 2001 From: Pontus Melke Date: Wed, 29 Oct 2025 07:31:31 +0100 Subject: [PATCH 4/8] Provide an example --- modules/ROOT/pages/errors/gql-errors/25N17.adoc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/ROOT/pages/errors/gql-errors/25N17.adoc b/modules/ROOT/pages/errors/gql-errors/25N17.adoc index 13255c0c..12dde783 100644 --- a/modules/ROOT/pages/errors/gql-errors/25N17.adoc +++ b/modules/ROOT/pages/errors/gql-errors/25N17.adoc @@ -5,6 +5,14 @@ == Status description error: The attempted operation requires an implicit transaction. +== Scenario + +This error occurs when the running a query using the CALL { ... } IN TRANSACTIONS construct in an explicit transaction. + +== Possible solution + +Make sure to use the driver API for creating an implicit transaction, or if using Browser/Query use the :auto command. + ifndef::backend-pdf[] [discrete.glossary] == Glossary From 1e788e2349d26c93a2c89591a1e417335e904cfe Mon Sep 17 00:00:00 2001 From: Reneta Popova Date: Wed, 29 Oct 2025 12:18:28 +0000 Subject: [PATCH 5/8] Editorial updates and regenerated the index file --- modules/ROOT/pages/errors/gql-errors/25N17.adoc | 7 +++---- modules/ROOT/pages/errors/gql-errors/index.adoc | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/modules/ROOT/pages/errors/gql-errors/25N17.adoc b/modules/ROOT/pages/errors/gql-errors/25N17.adoc index 12dde783..e17d3889 100644 --- a/modules/ROOT/pages/errors/gql-errors/25N17.adoc +++ b/modules/ROOT/pages/errors/gql-errors/25N17.adoc @@ -1,5 +1,4 @@ -:page-role: new-2025.10 - +:page-role: new-2025.10 cypher-25 = 25N17 == Status description @@ -7,11 +6,11 @@ error: The attempted operation requires an implicit transaction. == Scenario -This error occurs when the running a query using the CALL { ... } IN TRANSACTIONS construct in an explicit transaction. +This error occurs when running a query using the `CALL { ... } IN TRANSACTIONS` construct in an explicit transaction. == Possible solution -Make sure to use the driver API for creating an implicit transaction, or if using Browser/Query use the :auto command. +Make sure you use the driver API to create an implicit transaction, or, if using Browser/Query, use the `:auto` command. 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 f1c8b5c7..872c11e6 100644 --- a/modules/ROOT/pages/errors/gql-errors/index.adoc +++ b/modules/ROOT/pages/errors/gql-errors/index.adoc @@ -717,7 +717,7 @@ Status description:: error: invalid transaction state - transaction termination Status description:: error: invalid transaction state - transaction termination transient error. The transaction has been terminated. Retry your operation in a new transaction, and you should see a successful result. Reson: `{ <> }` -[role=label--new-2025.10] +[role=label--new-2025.10 cypher-25] === xref:errors/gql-errors/25N17.adoc[25N17] Status description:: error: The attempted operation requires an implicit transaction. From 48cf59d341a08e2c58af9b6d5238b0ca1cb1217e Mon Sep 17 00:00:00 2001 From: Reneta Popova Date: Wed, 29 Oct 2025 12:46:11 +0000 Subject: [PATCH 6/8] update the statu s description to reflect the codebase --- modules/ROOT/pages/errors/gql-errors/25N17.adoc | 4 ++-- modules/ROOT/pages/errors/gql-errors/index.adoc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/ROOT/pages/errors/gql-errors/25N17.adoc b/modules/ROOT/pages/errors/gql-errors/25N17.adoc index e17d3889..35cd703f 100644 --- a/modules/ROOT/pages/errors/gql-errors/25N17.adoc +++ b/modules/ROOT/pages/errors/gql-errors/25N17.adoc @@ -1,8 +1,8 @@ -:page-role: new-2025.10 cypher-25 +:page-role: new-2025.09 cypher-25 = 25N17 == Status description -error: The attempted operation requires an implicit transaction. +error: invalid transaction state - implicit transaction required. The operation `{ <> }` requires an implicit transaction. == Scenario diff --git a/modules/ROOT/pages/errors/gql-errors/index.adoc b/modules/ROOT/pages/errors/gql-errors/index.adoc index 872c11e6..7a7e4c0b 100644 --- a/modules/ROOT/pages/errors/gql-errors/index.adoc +++ b/modules/ROOT/pages/errors/gql-errors/index.adoc @@ -717,10 +717,10 @@ Status description:: error: invalid transaction state - transaction termination Status description:: error: invalid transaction state - transaction termination transient error. The transaction has been terminated. Retry your operation in a new transaction, and you should see a successful result. Reson: `{ <> }` -[role=label--new-2025.10 cypher-25] +[role=label--new-2025.09 cypher-25] === xref:errors/gql-errors/25N17.adoc[25N17] -Status description:: error: The attempted operation requires an implicit transaction. +Status description:: error: invalid transaction state - implicit transaction required. The operation `{ <> }` requires an implicit transaction. [[invalid-transaction-termination]] From b9a088e1020bafe9603bad48070b138b980c598d Mon Sep 17 00:00:00 2001 From: Reneta Popova Date: Wed, 29 Oct 2025 13:12:25 +0000 Subject: [PATCH 7/8] Update the description and regenerated the index file --- modules/ROOT/pages/errors/gql-errors/25N17.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/25N17.adoc b/modules/ROOT/pages/errors/gql-errors/25N17.adoc index 35cd703f..f7effefb 100644 --- a/modules/ROOT/pages/errors/gql-errors/25N17.adoc +++ b/modules/ROOT/pages/errors/gql-errors/25N17.adoc @@ -2,7 +2,7 @@ = 25N17 == Status description -error: invalid transaction state - implicit transaction required. The operation `{ <> }` requires an implicit transaction. +error: invalid transaction state - implicit transaction required. The attempted operation requires an implicit transaction. == Scenario diff --git a/modules/ROOT/pages/errors/gql-errors/index.adoc b/modules/ROOT/pages/errors/gql-errors/index.adoc index 7a7e4c0b..b1e65110 100644 --- a/modules/ROOT/pages/errors/gql-errors/index.adoc +++ b/modules/ROOT/pages/errors/gql-errors/index.adoc @@ -720,7 +720,7 @@ Status description:: error: invalid transaction state - transaction termination [role=label--new-2025.09 cypher-25] === xref:errors/gql-errors/25N17.adoc[25N17] -Status description:: error: invalid transaction state - implicit transaction required. The operation `{ <> }` requires an implicit transaction. +Status description:: error: invalid transaction state - implicit transaction required. The attempted operation requires an implicit transaction. [[invalid-transaction-termination]] From 48d16a417b1074195ad57154fcf337c13bfa07c5 Mon Sep 17 00:00:00 2001 From: Reneta Popova Date: Wed, 29 Oct 2025 13:20:29 +0000 Subject: [PATCH 8/8] remove cypher 25 --- modules/ROOT/pages/errors/gql-errors/25N17.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/25N17.adoc b/modules/ROOT/pages/errors/gql-errors/25N17.adoc index f7effefb..5f94c05d 100644 --- a/modules/ROOT/pages/errors/gql-errors/25N17.adoc +++ b/modules/ROOT/pages/errors/gql-errors/25N17.adoc @@ -1,4 +1,4 @@ -:page-role: new-2025.09 cypher-25 +:page-role: new-2025.09 = 25N17 == Status description diff --git a/modules/ROOT/pages/errors/gql-errors/index.adoc b/modules/ROOT/pages/errors/gql-errors/index.adoc index b1e65110..eb8cda81 100644 --- a/modules/ROOT/pages/errors/gql-errors/index.adoc +++ b/modules/ROOT/pages/errors/gql-errors/index.adoc @@ -717,7 +717,7 @@ Status description:: error: invalid transaction state - transaction termination Status description:: error: invalid transaction state - transaction termination transient error. The transaction has been terminated. Retry your operation in a new transaction, and you should see a successful result. Reson: `{ <> }` -[role=label--new-2025.09 cypher-25] +[role=label--new-2025.09] === xref:errors/gql-errors/25N17.adoc[25N17] Status description:: error: invalid transaction state - implicit transaction required. The attempted operation requires an implicit transaction.