-
-
Notifications
You must be signed in to change notification settings - Fork 388
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
Slight behaviour change after #1131 #1142
Comments
/cc @ostrolucky @greg0ire Indeed a very edge-case (running auto-migrations is bad and we only did this for automated behaviour testing), and maybe you want to decide to keep it at this. But the change in behaviour is documented here now :) |
It's not clear to me how to reproduce this |
Technically roughly this (I don't know how that would/should look sanely in vanilla - just going into what we are doing beneath our abstraction layer(s)):
The important thing is that the migration attempt and the entityManager flush happen within one execution, i.e. there is a left-over transaction still open. |
Since the change of #1131 an odd behaviour change has occured to us (when switching from 3.1.0 to 3.1.1 without any further changes):
Transaction commit failed because the transaction has been marked for rollback only.
Driver: PDO PGSQL
See
#1131 (comment)
and
neos/neos-development-collection#3311 (comment)
Summary:
Migrator::migrate()
(henceDbalMigrator::executeMigrations()
), likely because an accordingcommit()
is now missing that would have been caught and rolled backThe text was updated successfully, but these errors were encountered: