You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got the following error, when displaying almost any DtcQueue interface:
Argument 2 passed to Dtc\GridBundle\Grid\Source\ColumnSource::getCachedColumnInfo() must be an instance of Doctrine\Common\Persistence\Mapping\ClassMetadata, instance of Doctrine\ORM\Mapping\ClassMetadata given
I found that changing the import (Line 6) in Dtc\GridBundle\Grid\Source\ColumnSource:
FROM:
use Doctrine\Common\Persistence\Mapping\ClassMetadata;
TO:
use Doctrine\ORM\Mapping\ClassMetadata;
=> Simply fixes the issue
This has to do with some changes recently done in Doctrine Persistence
I made this issue to help people having the same issue as me.
Can you please include this fix? Or do you need a PR?
The text was updated successfully, but these errors were encountered:
I'm using DtcGridBundle with DtcQueueBundle:
I got the following error, when displaying almost any DtcQueue interface:
Argument 2 passed to Dtc\GridBundle\Grid\Source\ColumnSource::getCachedColumnInfo() must be an instance of Doctrine\Common\Persistence\Mapping\ClassMetadata, instance of Doctrine\ORM\Mapping\ClassMetadata given
I found that changing the import (Line 6) in Dtc\GridBundle\Grid\Source\ColumnSource:
FROM:
use Doctrine\Common\Persistence\Mapping\ClassMetadata;
TO:
use Doctrine\ORM\Mapping\ClassMetadata;
=> Simply fixes the issue
This has to do with some changes recently done in Doctrine Persistence
I made this issue to help people having the same issue as me.
Can you please include this fix? Or do you need a PR?
The text was updated successfully, but these errors were encountered: