Hello,
I'm having this error when trying to save a node enriched with workbench moderation.
My env : Drupal 8.2.5, pgsql
Reproduction step :
User not admin (without "bypass group access" i think)
Enable workbench moderation
Enable gnode (no need to apply it to a particular content)
Save a new content example for "page" (whatever its state is)
Référer /node/add/page
Message Drupal\Core\Database\TransactionNameNonUniqueException : mimic_implicit_commit is already in use. dans Drupal\Core\Database\Connection->pushTransaction() (lign 1121 /web/core/lib/Drupal/Core/Database/Connection.php).
With debug & callstack, it comes from gnode_node_grants:132, didnot investigate yet
Comment | File | Size | Author |
---|---|---|---|
#14 | behat-callstack.txt | 20.88 KB | sylus |
Comments
Comment #2
sylus CreditAttribution: sylus commentedI am getting this exact same issue as well, whenever trying to add a content type. Seems to be consistent with postgres environments.
Comment #3
sylus CreditAttribution: sylus commentedComment #4
sylus CreditAttribution: sylus commentedEdited see https://www.drupal.org/node/2848345#comment-12254271
Comment #5
sylus CreditAttribution: sylus commentedComment #6
sylus CreditAttribution: sylus commentedComment #7
sylus CreditAttribution: sylus commentedEdited see https://www.drupal.org/node/2848345#comment-12254271
Comment #8
sylus CreditAttribution: sylus commentedComment #9
sylus CreditAttribution: sylus commentedComment #10
sylus CreditAttribution: sylus commentedEdited see https://www.drupal.org/node/2848345#comment-12254271
Comment #11
sylus CreditAttribution: sylus commentedEdited see https://www.drupal.org/node/2848345#comment-12254271
Comment #12
jeremdow CreditAttribution: jeremdow at Cheng & Tsui Company commentedSame here. Drupal 8.3.7, PostgreSQL 9.6
Comment #13
sylus CreditAttribution: sylus commentedReproduction Steps
1) Install Drupal (v8.3.5+)
2) Install Workbench Moderation (v1.2)
3) Add just the following hook which can be empty:
Now whenever I run a behat test or even a migration import on a postgres db I always get "mimic_implicit_commit". I did manage to fix the migration issues by just disabling all workbench moderation hooks via migrate booster.
Migrate Booster
Behat
This simple Behat test highlights the `mimic_implicit_commit` issue I am having on postgreSQL databases. The full stack trace is attached as a subsequent file upload.
I also should note that content moderation (in Drupal core) also has this same problem.
Comment #14
sylus CreditAttribution: sylus commentedComment #15
sylus CreditAttribution: sylus commented