We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
While trying to upgrade between 0.9.3 and 0.10.0, I encountered the following message:
ERROR: You must provide either ManagerRegistry or ConnectionRegistry.
Both $managerRegistry and $connectionRegistry values in DependencyFactoryCreator::create() are null, but I can't figure out why.
$managerRegistry
$connectionRegistry
null
Compiled Nette DI container looks like:
public function createServiceNettrine__migrations__dependencyFactory(): Doctrine\Migrations\DependencyFactory { return Nettrine\Migrations\DependencyFactoryCreator::create( $this, $this->getService('nettrine.migrations.configuration'), logger: $this->getService('monolog.logger.default'), ); }
config.neon options look ok to me, at least according to the documentation for 0.10.0.
config.neon
nettrine.migrations: table: migrations directories: Foo\Bar\Migrations: %appDir%/../sql/migrations versionsOrganization: year_and_month customTemplate: %appDir%/../sql/migrations/migrations.tpl
Installed composer packages are:
Direct: doctrine/dbal: 3.9.4 nettrine/dbal: 0.9.0 nettrine/migrations: 0.10.0 Transitive: doctrine/cache: 2.2.0 doctrine/deprecations: 1.1.4 doctrine/event-manager: 2.0.1 doctrine/migrations: 3.8.2 nettrine/cache: 0.5.0
The two use Doctrine\Persistence\ConnectionRegistry and ManagerRegistry definitions don't resolve to anything, possibly due to doctrine/persistence not being installed? Although, even by requiring that, nothing changes. An upgrade of nettrine/dbal (0.9.0 -> 0.10.0) blocks due to my project still being on doctrine/dbal ^3.9.
doctrine/dbal ^3.9
Is it possible that nettrine/migrations v0.10.0 has some shadow/incorrect dependencies defined in composer.json? Thanks!
The text was updated successfully, but these errors were encountered:
Thank you for your report. Do you think it would be possible to reproduce it here https://github.com/contributte/doctrine-skeleton ?
Sorry, something went wrong.
Thanks for the quick reply. I will try to post a link to a modified branch, probably later this week.
No branches or pull requests
While trying to upgrade between 0.9.3 and 0.10.0, I encountered the following message:
Both
$managerRegistry
and$connectionRegistry
values in DependencyFactoryCreator::create() arenull
, but I can't figure out why.Compiled Nette DI container looks like:
config.neon
options look ok to me, at least according to the documentation for 0.10.0.Installed composer packages are:
The two use Doctrine\Persistence\ConnectionRegistry and ManagerRegistry definitions don't resolve to anything, possibly due to doctrine/persistence not being installed? Although, even by requiring that, nothing changes. An upgrade of nettrine/dbal (0.9.0 -> 0.10.0) blocks due to my project still being on
doctrine/dbal ^3.9
.Is it possible that nettrine/migrations v0.10.0 has some shadow/incorrect dependencies defined in composer.json? Thanks!
The text was updated successfully, but these errors were encountered: