-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Syntax error or access violation: 1305 SAVEPOINT DOCTRINE2_SAVEPOINT_2 does not exist #58
Comments
Unfortunately I will not be able to help without any more information 😉
|
Here you go:
I don't know for the queries, but I have this error since some packages upgrade: diff --git a/composer.json b/composer.json
index d838f035b..470b1cc56 100644
--- a/composer.json
+++ b/composer.json
@@ -68,7 +68,7 @@
"guzzlehttp/guzzle": "^6.0",
"hackzilla/password-generator": "^1.4",
"hackzilla/password-generator-bundle": "^2.0",
- "hautelook/alice-bundle": "^1.0",
+ "hautelook/alice-bundle": "^2.0",
"incenteev/composer-parameter-handler": "^2.0",
"influxdb/influxdb-php": "^1.14",
"inlinestyle/inlinestyle": "^1.2",
@@ -87,7 +87,7 @@
"misd/phone-number-bundle": "^1.2",
"monolog/monolog": "^1.23",
"mtdowling/cron-expression": "^1.1",
- "nelmio/alice": "^2.0",
+ "nelmio/alice": "^3.3",
"nelmio/api-doc-bundle": "^3.0",
"nexylan/cloudflare": "dev-master",
"nexylan/cloudflare-host-gw": "^0.1",
@@ -162,8 +162,7 @@
"dama/doctrine-test-bundle": "^5.0",
"doctrine/doctrine-fixtures-bundle": "^2.4",
"jolicode/gif-exception-bundle": "^1.4",
- "knplabs/friendly-contexts": "^0.8",
- "liip/functional-test-bundle": "^1.9",
+ "liip/functional-test-bundle": "^2.0",
"lookyman/phpstan-symfony": "^0.4.1",
"phpdocumentor/reflection-docblock": "^3.2.3",
"phpstan/phpstan-doctrine": "^0.9.1",
diff --git a/composer.lock b/composer.lock
index eb94d50b7..1a935f6b5 100644
--- a/composer.lock
+++ b/composer.lock
@@ -1,10 +1,10 @@
{
"_readme": [
"This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
+ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "10217f8c826558d605efaf889a1a43de",
+ "content-hash": "a72aa816fbf0441b0efd2c3ad52fc7db",
"packages": [
{
"name": "a2lix/translation-form-bundle",
@@ -2870,44 +2870,36 @@
},
{
"name": "hautelook/alice-bundle",
- "version": "v1.4.1",
+ "version": "v2.0.0",
"source": {
"type": "git",
"url": "https://github.com/hautelook/AliceBundle.git",
- "reference": "058925945bccbc8776725fec9e8557aca9666d9c"
+ "reference": "b167479bec0662b4dcae1f44813b99ec7311db02"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/hautelook/AliceBundle/zipball/058925945bccbc8776725fec9e8557aca9666d9c",
- "reference": "058925945bccbc8776725fec9e8557aca9666d9c",
+ "url": "https://api.github.com/repos/hautelook/AliceBundle/zipball/b167479bec0662b4dcae1f44813b99ec7311db02",
+ "reference": "b167479bec0662b4dcae1f44813b99ec7311db02",
"shasum": ""
},
"require": {
- "nelmio/alice": "^2.1 < 2.2.0 || ^2.2.1",
- "php": "^5.6||^7.0",
- "symfony/finder": "^2.7||^3.0"
+ "nelmio/alice": "^3.1",
+ "php": "^7.1",
+ "psr/log": "^1.0",
+ "symfony/finder": "^3.3 || ^4.0",
+ "theofidry/alice-data-fixtures": "^1.0-rc1"
},
"require-dev": {
- "doctrine/data-fixtures": "1.0.1",
- "doctrine/doctrine-bundle": "^1.6.4",
- "doctrine/doctrine-fixtures-bundle": "^2.2",
- "doctrine/mongodb-odm": "^1.0",
- "doctrine/mongodb-odm-bundle": "^3.0",
- "doctrine/orm": "^2.4",
- "phpunit/phpunit": "^5.6",
- "sllh/php-cs-fixer-styleci-bridge": "^1.0",
- "symfony/console": "^2.3||~3.0",
- "symfony/framework-bundle": "^2.3||^3.0",
- "symfony/phpunit-bridge": "^3.1",
- "symfony/validator": "^2.3|^3.0",
- "symfony/yaml": "^2.3||^3.0"
+ "doctrine/common": "^2.7.2",
+ "doctrine/data-fixtures": "^1.2",
+ "doctrine/doctrine-bundle": "^1.6.8",
+ "doctrine/orm": "^2.5.6",
+ "phpspec/prophecy": "^1.7",
+ "phpunit/phpunit": "^6.0",
+ "symfony/phpunit-bridge": "^3.3",
+ "symfony/symfony": "^3.3.10 || ^4.0"
},
"suggest": {
- "doctrine/data-fixtures": "To use Doctrine fixtures loader",
- "doctrine/doctrine-bundle": "To use Doctrine with Symfony",
- "doctrine/mongodb-odm": "To use Doctrine MongoDB",
- "doctrine/mongodb-odm-bundle": "To use Doctrine MongoDB with Symfony",
- "doctrine/orm": "To use Doctrine ORM",
"theofidry/alice-bundle-extension": "Behat extension for HautelookAliceBundle"
},
"type": "symfony-bundle",
@@ -2915,6 +2907,7 @@
"branch-alias": {
"dev-master": "2.x-dev"
},
+ "bin-dir": "bin",
"sort-packages": true
},
"autoload": {
@@ -2937,7 +2930,7 @@
"homepage": "https://github.com/theofidry"
}
],
- "description": "Symfony2 Bundle to manage fixtures with Alice and Faker.",
+ "description": "Symfony bundle to manage fixtures with Alice and Faker.",
"keywords": [
"Fixture",
"alice",
@@ -2945,7 +2938,7 @@
"orm",
"symfony"
],
- "time": "2016-11-04T08:48:00+00:00"
+ "time": "2017-12-17T18:24:52+00:00"
},
{
"name": "incenteev/composer-parameter-handler",
@@ -4356,6 +4349,51 @@
],
"time": "2017-01-23T04:29:33+00:00"
},
+ {
+ "name": "myclabs/deep-copy",
+ "version": "1.7.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/myclabs/DeepCopy.git",
+ "reference": "3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e",
+ "reference": "3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e",
+ "shasum": ""
+ },
+ "require": {
+ "php": "^5.6 || ^7.0"
+ },
+ "require-dev": {
+ "doctrine/collections": "^1.0",
+ "doctrine/common": "^2.6",
+ "phpunit/phpunit": "^4.1"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "DeepCopy\\": "src/DeepCopy/"
+ },
+ "files": [
+ "src/DeepCopy/deep_copy.php"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "description": "Create deep copies (clones) of your objects",
+ "keywords": [
+ "clone",
+ "copy",
+ "duplicate",
+ "object",
+ "object graph"
+ ],
+ "time": "2017-10-19T19:58:43+00:00"
+ },
{
"name": "namshi/jose",
"version": "7.2.3",
@@ -4421,34 +4459,54 @@
},
{
"name": "nelmio/alice",
- "version": "v2.3.5",
+ "version": "v3.3.0",
"source": {
"type": "git",
"url": "https://github.com/nelmio/alice.git",
- "reference": "d780fdff10854d93010b4a027fab92b747b42586"
+ "reference": "ddcc459081434ac3a7a2bef2c8a78db49ba11e79"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/nelmio/alice/zipball/d780fdff10854d93010b4a027fab92b747b42586",
- "reference": "d780fdff10854d93010b4a027fab92b747b42586",
+ "url": "https://api.github.com/repos/nelmio/alice/zipball/ddcc459081434ac3a7a2bef2c8a78db49ba11e79",
+ "reference": "ddcc459081434ac3a7a2bef2c8a78db49ba11e79",
"shasum": ""
},
"require": {
- "fzaninotto/faker": "^1.5",
- "php": "^5.6||^7.0",
- "symfony/yaml": "^2.0||^3.0"
+ "fzaninotto/faker": "^1.6",
+ "myclabs/deep-copy": "^1.5.2",
+ "php": "^7.1",
+ "symfony/property-access": "^2.8 || ^3.4 || ^4.0",
+ "symfony/yaml": "^2.8 || ^3.4 || ^4.0"
+ },
+ "conflict": {
+ "symfony/framework-bundle": "<3.4"
},
"require-dev": {
- "doctrine/common": "^2.3",
- "phpspec/prophecy": "^1.5.0",
- "phpunit/phpunit": "^5.6||^6.0",
- "symfony/phpunit-bridge": "^3.0",
- "symfony/property-access": "^2.2||^3.0"
+ "bamarni/composer-bin-plugin": "^1.1.0",
+ "php-mock/php-mock": "^2.0",
+ "phpspec/prophecy": "^1.6",
+ "phpunit/phpunit": "^7.0",
+ "symfony/phpunit-bridge": "^3.4.5 || ^4.0.5",
+ "symfony/var-dumper": "^3.4 || ^4.0"
+ },
+ "suggest": {
+ "theofidry/alice-data-fixtures": "Wrapper for Alice to provide a persistence layer."
},
"type": "library",
+ "extra": {
+ "bamarni-bin": {
+ "bin-links": false
+ },
+ "branch-alias": {
+ "dev-master": "3.1.0-dev"
+ }
+ },
"autoload": {
+ "files": [
+ "src/deep_clone.php"
+ ],
"psr-4": {
- "Nelmio\\Alice\\": "src/Nelmio/Alice"
+ "Nelmio\\Alice\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
@@ -4465,7 +4523,7 @@
"email": "[email protected]"
},
{
- "name": "Théo FIDRY",
+ "name": "Théo Fidry",
"email": "[email protected]"
}
],
@@ -4473,10 +4531,10 @@
"keywords": [
"Fixture",
"data",
- "orm",
+ "faker",
"test"
],
- "time": "2018-04-07T09:33:52+00:00"
+ "time": "2018-04-07T09:07:10+00:00"
},
{
"name": "nelmio/api-doc-bundle",
@@ -8411,7 +8469,7 @@
},
{
"name": "symfony/class-loader",
- "version": "v3.4.8",
+ "version": "v3.4.9",
"source": {
"type": "git",
"url": "https://github.com/symfony/class-loader.git",
@@ -9133,25 +9191,25 @@
},
{
"name": "symfony/finder",
- "version": "v3.4.8",
+ "version": "v4.0.9",
"source": {
"type": "git",
"url": "https://github.com/symfony/finder.git",
- "reference": "bd14efe8b1fabc4de82bf50dce62f05f9a102433"
+ "reference": "ca27c02b7a3fef4828c998c2ff9ba7aae1641c49"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/finder/zipball/bd14efe8b1fabc4de82bf50dce62f05f9a102433",
- "reference": "bd14efe8b1fabc4de82bf50dce62f05f9a102433",
+ "url": "https://api.github.com/repos/symfony/finder/zipball/ca27c02b7a3fef4828c998c2ff9ba7aae1641c49",
+ "reference": "ca27c02b7a3fef4828c998c2ff9ba7aae1641c49",
"shasum": ""
},
"require": {
- "php": "^5.5.9|>=7.0.8"
+ "php": "^7.1.3"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "3.4-dev"
+ "dev-master": "4.0-dev"
}
},
"autoload": {
@@ -9178,7 +9236,7 @@
],
"description": "Symfony Finder Component",
"homepage": "https://symfony.com",
- "time": "2018-04-04T05:07:11+00:00"
+ "time": "2018-04-04T05:10:37+00:00"
},
{
"name": "symfony/flex",
@@ -11329,6 +11387,79 @@
"homepage": "https://symfony.com",
"time": "2018-04-03T05:14:20+00:00"
},
+ {
+ "name": "theofidry/alice-data-fixtures",
+ "version": "v1.0.1",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/theofidry/AliceDataFixtures.git",
+ "reference": "5752bbf979a012bb804c00641478d4d3f879e51d"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/theofidry/AliceDataFixtures/zipball/5752bbf979a012bb804c00641478d4d3f879e51d",
+ "reference": "5752bbf979a012bb804c00641478d4d3f879e51d",
+ "shasum": ""
+ },
+ "require": {
+ "nelmio/alice": "^3.1",
+ "php": "^7.1",
+ "psr/log": "^1.0"
+ },
+ "require-dev": {
+ "bamarni/composer-bin-plugin": "^1.1",
+ "phpspec/prophecy": "^1.7",
+ "phpunit/phpunit": "^6.0",
+ "symfony/phpunit-bridge": "^3.3.2 || ^4.0"
+ },
+ "suggest": {
+ "alcaeus/mongo-php-adapter": "To use Doctrine with the MongoDB flavour",
+ "doctrine/data-fixtures": "To use Doctrine",
+ "doctrine/dbal": "To use Doctrine with the PHPCR flavour",
+ "doctrine/mongodb": "To use Doctrine with the MongoDB flavour",
+ "doctrine/mongodb-odm": "To use Doctrine with the MongoDB flavour",
+ "doctrine/orm": "To use Doctrine ORM",
+ "doctrine/phpcr-odm": "To use Doctrine with the PHPCR flavour",
+ "illuminate/database": "To use Eloquent",
+ "jackalope/jackalope-doctrine-dbal": "To use Doctrine with the PHPCR flavour",
+ "ocramius/proxy-manager": "To avoid database connection on kernel boot"
+ },
+ "type": "library",
+ "extra": {
+ "bamarni-bin": {
+ "bin-links": false
+ },
+ "branch-alias": {
+ "dev-master": "1.x-dev"
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "Fidry\\AliceDataFixtures\\": "src"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Théo FIDRY",
+ "email": "[email protected]",
+ "homepage": "https://github.com/theofidry"
+ }
+ ],
+ "description": "Nelmio alice extension to persist the loaded fixtures.",
+ "keywords": [
+ "Fixture",
+ "alice",
+ "data",
+ "faker",
+ "orm",
+ "tests"
+ ],
+ "time": "2017-12-21T21:36:53+00:00"
+ },
{
"name": "tilleuls/ovh-bundle",
"version": "v1.0.1",
@@ -12343,26 +12474,29 @@
},
{
"name": "doctrine/data-fixtures",
- "version": "v1.3.0",
+ "version": "v1.3.1",
"source": {
"type": "git",
"url": "https://github.com/doctrine/data-fixtures.git",
- "reference": "7b76ccc8e648c4502aad7f61347326c8a072bd3b"
+ "reference": "3a1e2c3c600e615a2dffe56d4ca0875cc5233e0a"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/doctrine/data-fixtures/zipball/7b76ccc8e648c4502aad7f61347326c8a072bd3b",
- "reference": "7b76ccc8e648c4502aad7f61347326c8a072bd3b",
+ "url": "https://api.github.com/repos/doctrine/data-fixtures/zipball/3a1e2c3c600e615a2dffe56d4ca0875cc5233e0a",
+ "reference": "3a1e2c3c600e615a2dffe56d4ca0875cc5233e0a",
"shasum": ""
},
"require": {
"doctrine/common": "~2.2",
"php": "^7.1"
},
+ "conflict": {
+ "doctrine/phpcr-odm": "<1.3.0"
+ },
"require-dev": {
"doctrine/dbal": "^2.5.4",
"doctrine/orm": "^2.5.4",
- "phpunit/phpunit": "^6.3"
+ "phpunit/phpunit": "^7.0"
},
"suggest": {
"alcaeus/mongo-php-adapter": "For using MongoDB ODM with PHP 7",
@@ -12396,7 +12530,7 @@
"keywords": [
"database"
],
- "time": "2017-11-27T18:48:06+00:00"
+ "time": "2018-03-20T09:06:36+00:00"
},
{
"name": "doctrine/doctrine-fixtures-bundle",
@@ -12455,99 +12589,6 @@
],
"time": "2017-10-30T19:26:42+00:00"
},
- {
- "name": "guzzle/guzzle",
- "version": "v3.8.1",
- "source": {
- "type": "git",
- "url": "https://github.com/guzzle/guzzle.git",
- "reference": "4de0618a01b34aa1c8c33a3f13f396dcd3882eba"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/guzzle/guzzle/zipball/4de0618a01b34aa1c8c33a3f13f396dcd3882eba",
- "reference": "4de0618a01b34aa1c8c33a3f13f396dcd3882eba",
- "shasum": ""
- },
- "require": {
- "ext-curl": "*",
- "php": ">=5.3.3",
- "symfony/event-dispatcher": ">=2.1"
- },
- "replace": {
- "guzzle/batch": "self.version",
- "guzzle/cache": "self.version",
- "guzzle/common": "self.version",
- "guzzle/http": "self.version",
- "guzzle/inflection": "self.version",
- "guzzle/iterator": "self.version",
- "guzzle/log": "self.version",
- "guzzle/parser": "self.version",
- "guzzle/plugin": "self.version",
- "guzzle/plugin-async": "self.version",
- "guzzle/plugin-backoff": "self.version",
- "guzzle/plugin-cache": "self.version",
- "guzzle/plugin-cookie": "self.version",
- "guzzle/plugin-curlauth": "self.version",
- "guzzle/plugin-error-response": "self.version",
- "guzzle/plugin-history": "self.version",
- "guzzle/plugin-log": "self.version",
- "guzzle/plugin-md5": "self.version",
- "guzzle/plugin-mock": "self.version",
- "guzzle/plugin-oauth": "self.version",
- "guzzle/service": "self.version",
- "guzzle/stream": "self.version"
- },
- "require-dev": {
- "doctrine/cache": "*",
- "monolog/monolog": "1.*",
- "phpunit/phpunit": "3.7.*",
- "psr/log": "1.0.*",
- "symfony/class-loader": "*",
- "zendframework/zend-cache": "<2.3",
- "zendframework/zend-log": "<2.3"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.8-dev"
- }
- },
- "autoload": {
- "psr-0": {
- "Guzzle": "src/",
- "Guzzle\\Tests": "tests/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Michael Dowling",
- "email": "[email protected]",
- "homepage": "https://github.com/mtdowling"
- },
- {
- "name": "Guzzle Community",
- "homepage": "https://github.com/guzzle/guzzle/contributors"
- }
- ],
- "description": "Guzzle is a PHP HTTP client library and framework for building RESTful web service clients",
- "homepage": "http://guzzlephp.org/",
- "keywords": [
- "client",
- "curl",
- "framework",
- "http",
- "http client",
- "rest",
- "web service"
- ],
- "abandoned": "guzzlehttp/guzzle",
- "time": "2014-01-28T22:29:15+00:00"
- },
{
"name": "instaclick/php-webdriver",
"version": "1.4.5",
@@ -12665,99 +12706,38 @@
],
"time": "2017-12-24T10:57:33+00:00"
},
- {
- "name": "knplabs/friendly-contexts",
- "version": "0.8.2",
- "source": {
- "type": "git",
- "url": "https://github.com/KnpLabs/FriendlyContexts.git",
- "reference": "ed6f1d890ea02cf56be503d3a8843be20f4683f6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/KnpLabs/FriendlyContexts/zipball/ed6f1d890ea02cf56be503d3a8843be20f4683f6",
- "reference": "ed6f1d890ea02cf56be503d3a8843be20f4683f6",
- "shasum": ""
- },
- "require": {
- "behat/behat": "~3.0",
- "behat/mink-extension": "~2.0",
- "doctrine/data-fixtures": "~1.0",
- "doctrine/inflector": "~1.0",
- "fzaninotto/faker": "~1.4",
- "guzzle/guzzle": "~3.7",
- "nelmio/alice": "~2.0",
- "php": ">=5.4.0",
- "symfony/property-access": "~2.3|~3.0"
- },
- "require-dev": {
- "doctrine/orm": "~2.5",
- "knplabs/phpspec-welldone-extension": "dev-master",
- "phpspec/phpspec": "~2.4|~3.0"
- },
- "type": "library",
- "autoload": {
- "psr-0": {
- "Knp\\FriendlyContexts": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Knplabs",
- "homepage": "http://knplabs.com"
- },
- {
- "name": "PedroTroller",
- "homepage": "https://github.com/PedroTroller"
- }
- ],
- "description": "Some BEHAT contexts",
- "time": "2017-04-19T20:40:11+00:00"
- },
{
"name": "liip/functional-test-bundle",
- "version": "1.9.5",
+ "version": "2.0.0-alpha4",
"source": {
"type": "git",
"url": "https://github.com/liip/LiipFunctionalTestBundle.git",
- "reference": "4cf646747fa32710621b4f22922b3790767df847"
+ "reference": "321db8392c1ec151959d166208e6df3b22461b43"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/liip/LiipFunctionalTestBundle/zipball/4cf646747fa32710621b4f22922b3790767df847",
- "reference": "4cf646747fa32710621b4f22922b3790767df847",
+ "url": "https://api.github.com/repos/liip/LiipFunctionalTestBundle/zipball/321db8392c1ec151959d166208e6df3b22461b43",
+ "reference": "321db8392c1ec151959d166208e6df3b22461b43",
"shasum": ""
},
"require": {
- "doctrine/common": "~2.0",
- "php": "^5.6|^7.0",
- "symfony/browser-kit": "^2.7|^3.0",
- "symfony/framework-bundle": "^2.7|^3.0"
- },
- "conflict": {
- "phpunit/phpunit": ">=7"
+ "doctrine/common": "^2.0",
+ "php": "^7.1",
+ "symfony/browser-kit": "^3.4 || ^4.0",
+ "symfony/framework-bundle": "^3.4 || ^4.0"
},
"require-dev": {
- "brianium/paratest": "~0.12.0|~0.13.2",
- "doctrine/data-fixtures": "1.2.2",
- "doctrine/doctrine-fixtures-bundle": "~2.3",
- "doctrine/orm": "~2.5",
- "doctrine/phpcr-bundle": "~1.3",
- "doctrine/phpcr-odm": "~1.3",
- "hautelook/alice-bundle": "~0.2|~1.2",
- "jackalope/jackalope-doctrine-dbal": "1.1.*|1.2.*",
- "nelmio/alice": "~1.7|~2.0",
- "phpunit/phpunit": "^4.8.35|^5.7|^6.1",
- "symfony/assetic-bundle": "^2.7|^3.0",
- "symfony/console": "^2.7|^3.0",
- "symfony/monolog-bundle": "^2.7|^3.0",
- "symfony/phpunit-bridge": "^2.7|^3.0",
- "symfony/symfony": "^2.7.1|^3.3",
- "twig/twig": "~1.12|~2.0"
+ "doctrine/data-fixtures": "^1.3",
+ "doctrine/doctrine-bundle": "^1.8",
+ "doctrine/doctrine-fixtures-bundle": "^3.0",
+ "doctrine/orm": "^2.5",
+ "jackalope/jackalope-doctrine-dbal": "^1.3",
+ "phpunit/phpunit": "^6.1|^7.0",
+ "symfony/monolog-bundle": "^3.1",
+ "symfony/phpunit-bridge": "^3.4 || ^4.0",
+ "symfony/symfony": "^3.4 || ^4.0",
+ "theofidry/alice-data-fixtures": "^1.0.1",
+ "twig/twig": "^2.0"
},
"suggest": {
"brianium/paratest": "Required when using paratest to parallelize tests",
@@ -12765,17 +12745,18 @@
"doctrine/doctrine-fixtures-bundle": "Required when using the fixture loading functionality",
"doctrine/orm": "Required when using the fixture loading functionality with an ORM and SQLite",
"hautelook/alice-bundle": "Required when using loadFixtureFiles functionality with custom providers",
- "nelmio/alice": "Required when using loadFixtureFiles functionality"
+ "nelmio/alice": "Required when using loadFixtureFiles functionality",
+ "symfony/framework-bundle": "To use assertStatusCode and assertValidationErrors ~2.5"
},
"type": "symfony-bundle",
"extra": {
"branch-alias": {
- "dev-master": "1.x-dev"
+ "dev-master": "2.x-dev"
}
},
"autoload": {
"psr-4": {
- "Liip\\FunctionalTestBundle\\": ""
+ "Liip\\FunctionalTestBundle\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
@@ -12796,7 +12777,7 @@
"keywords": [
"Symfony2"
],
- "time": "2018-03-25T15:56:30+00:00"
+ "time": "2018-03-06T22:11:23+00:00"
},
{
"name": "lookyman/phpstan-symfony",
@@ -12848,51 +12829,6 @@
],
"time": "2018-01-18T10:20:29+00:00"
},
- {
- "name": "myclabs/deep-copy",
- "version": "1.7.0",
- "source": {
- "type": "git",
- "url": "https://github.com/myclabs/DeepCopy.git",
- "reference": "3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e",
- "reference": "3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e",
- "shasum": ""
- },
- "require": {
- "php": "^5.6 || ^7.0"
- },
- "require-dev": {
- "doctrine/collections": "^1.0",
- "doctrine/common": "^2.6",
- "phpunit/phpunit": "^4.1"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "DeepCopy\\": "src/DeepCopy/"
- },
- "files": [
- "src/DeepCopy/deep_copy.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "description": "Create deep copies (clones) of your objects",
- "keywords": [
- "clone",
- "copy",
- "duplicate",
- "object",
- "object graph"
- ],
- "time": "2017-10-19T19:58:43+00:00"
- },
{
"name": "phar-io/manifest",
"version": "1.0.1", I'm still investigating. But do you have any clue of how this error may happen? |
@dmaicher Maybe do you also have a simple way to list all the doctrine queries done on PHPUnit before the crash? |
Here is a more condensed composer changes between my working master branch and the broken one:
|
Thanks! I will try to have a look on the weekend and see if I can reproduce it somehow on this test project https://github.com/dmaicher/doctrine-test-bundle-demo where I also use doctrine data fixtures |
Thanks @dmaicher. I'm pretty sure it's related to the data fixtures but I can't find where is the issue for now. |
@dmaicher I found this documentation: https://github.com/theofidry/AliceDataFixtures#phpunit And I tried with this configuration to be sure there is no fidry_alice_data_fixtures:
default_purge_mode: no_purge But it changed nothing. @theofidry if you have a bit of time for us, could you please confirm the way to go? Did you already run onto this kind of issue? |
I manage to get the executed queries until the crash:
Hope it will help you a bit @dmaicher |
@dmaicher Please see also: liip/LiipFunctionalTestBundle#423 |
I do have the same issue, but I do not use the fixture backup functionality of the Liip bundle... Is it possible that the issue stems from the fact that we are using always the same static connection for everything, and this creates issues with the savepoints, which gets the same names? |
So I can reproduce this issue using the following test: Results in
So basically any query run inside a user-land code transaction that causes implicit transaction commits (like ALTER table etc) is a problem for doctrine on roll-back 😢 I don't think I can fix this really. I can just recommend avoiding such queries during a test case. What do you think? |
Thanks @dmaicher for your debug. In my case though, I don't think I'm doing an |
I think you are right, there is pretty much nothing you can do except helping. Thanks for the input. 👍 |
Maybe a clearer exception message or a doc entry for the issue could be nice though :) |
Unfortunately the exception comes from DBAL, so we cannot intercept it. Something in the docs could be done, yeah! |
I added some info to the readme here #59 Please have a look 😉 |
…OINT_3 does not exist` see dmaicher/doctrine-test-bundle#58 (comment)
Still actual even in 2022 :P The dirty "hack" that I use, is just to create another transaction, every time, when you do commit. Like that: |
@c0nst4nt I'm in need of this. Where did you put that little snippet? |
Do you have any idea, what could cause this problem?
Without your bundle there is no such problem. I'm using latest version.
Doctrine ORM v2.6.1
The text was updated successfully, but these errors were encountered: