Forums › Forums › OroPlatform › OroPlatform – Installation/Technical Issues or Problems › Problem after upgrade 1.3
This topic contains 5 replies, has 2 voices, and was last updated by Yevhen Shyshkin 9 years, 8 months ago.
Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.
- CreatorTopic
- July 30, 2014 at 1:28 pm #34966
Hi!
I recently upgraded Oro BAP from 1.2 to 1.3 and I have some problem with navigation. When press a link on navigation bar (e.g.: Manage Custom Reports), an exception occurre:1Class 'Symfony\Component\Security\Core\User\UserInterface' does not existBut if a put the url on the browser and press enter, the page is render normally. Any ideas of what can happen?
Thanks!
—
Fabian Castillo | CEO – SR. ConsultantOffices:
USA. +1 347 708 0101 | Argentina: +54 351 5982563 | Skype: fabiancastle
http://www.excedesoft.com - CreatorTopic
- AuthorReplies
- July 31, 2014 at 2:01 am #34967
Hello, excedesoft.
Could you please put whole exception trace here?
July 31, 2014 at 10:37 am #34968Hi Yevhen! Here is the exception trace:
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071[1] Doctrine\Common\Persistence\Mapping\MappingException: Class 'Symfony\Component\Security\Core\User\UserInterface' does not existat n/ain /opt/xampp/1.8.3/lampp/htdocs/hfc/backend/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/MappingException.php line 96at Doctrine\Common\Persistence\Mapping\MappingException::nonExistingClass('Symfony\Component\Security\Core\User\UserInterface')in /opt/xampp/1.8.3/lampp/htdocs/hfc/backend/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/RuntimeReflectionService.php line 43at Doctrine\Common\Persistence\Mapping\RuntimeReflectionService->getParentClasses('Symfony\Component\Security\Core\User\UserInterface')in /opt/xampp/1.8.3/lampp/htdocs/hfc/backend/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php line 267at Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory->getParentClasses('Symfony\Component\Security\Core\User\UserInterface')in /opt/xampp/1.8.3/lampp/htdocs/hfc/backend/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php line 297at Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory->loadMetadata('Symfony\Component\Security\Core\User\UserInterface')in /opt/xampp/1.8.3/lampp/htdocs/hfc/backend/vendor/doctrine/common/lib/Doctrine/Common/Persistence/Mapping/AbstractClassMetadataFactory.php line 211at Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory->getMetadataFor('Symfony\Component\Security\Core\User\UserInterface')in /opt/xampp/1.8.3/lampp/htdocs/hfc/backend/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php line 295at Doctrine\ORM\EntityManager->getClassMetadata('Symfony\Component\Security\Core\User\UserInterface')in /opt/xampp/1.8.3/lampp/htdocs/hfc/backend/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php line 1106at Doctrine\ORM\UnitOfWork->getCommitOrder()in /opt/xampp/1.8.3/lampp/htdocs/hfc/backend/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php line 327at Doctrine\ORM\UnitOfWork->commit(object(NavigationHistoryItem))in /opt/xampp/1.8.3/lampp/htdocs/hfc/backend/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php line 389at Doctrine\ORM\EntityManager->flush(object(NavigationHistoryItem))in /opt/xampp/1.8.3/lampp/htdocs/hfc/backend/vendor/oro/platform/src/Oro/Bundle/NavigationBundle/Event/ResponseHistoryListener.php line 105at Oro\Bundle\NavigationBundle\Event\ResponseHistoryListener->onResponse(object(FilterResponseEvent))in lineat call_user_func(array(object(ResponseHistoryListener), 'onResponse'), object(FilterResponseEvent))in /opt/xampp/1.8.3/lampp/htdocs/hfc/backend/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php line 450at Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher->Symfony\Component\HttpKernel\Debug\{closure}(object(FilterResponseEvent))in lineat call_user_func(object(Closure), object(FilterResponseEvent))in /opt/xampp/1.8.3/lampp/htdocs/hfc/backend/app/cache/dev/classes.php line 2039at Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(array(object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure)), 'kernel.response', object(FilterResponseEvent))in /opt/xampp/1.8.3/lampp/htdocs/hfc/backend/app/cache/dev/classes.php line 1972at Symfony\Component\EventDispatcher\EventDispatcher->dispatch('kernel.response', object(FilterResponseEvent))in /opt/xampp/1.8.3/lampp/htdocs/hfc/backend/app/cache/dev/classes.php line 2136at Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.response', object(FilterResponseEvent))in /opt/xampp/1.8.3/lampp/htdocs/hfc/backend/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php line 139at Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher->dispatch('kernel.response', object(FilterResponseEvent))in /opt/xampp/1.8.3/lampp/htdocs/hfc/backend/app/bootstrap.php.cache line 2864at Symfony\Component\HttpKernel\HttpKernel->filterResponse(object(Response), object(Request), '1')in /opt/xampp/1.8.3/lampp/htdocs/hfc/backend/app/bootstrap.php.cache line 2859at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), '1')in /opt/xampp/1.8.3/lampp/htdocs/hfc/backend/app/bootstrap.php.cache line 2818at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), '1', true)in /opt/xampp/1.8.3/lampp/htdocs/hfc/backend/app/bootstrap.php.cache line 2947at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(object(Request), '1', true)in /opt/xampp/1.8.3/lampp/htdocs/hfc/backend/app/bootstrap.php.cache line 2249at Symfony\Component\HttpKernel\Kernel->handle(object(Request))in /opt/xampp/1.8.3/lampp/htdocs/hfc/backend/web/app.php line 30Thanks!
—
Fabian Castillo | CEO – SR. ConsultantOffices:
USA. +1 347 708 0101 | Argentina: +54 351 5982563 | Skype: fabiancastle
http://www.excedesoft.comAugust 1, 2014 at 3:02 am #34969Look’s like that for some reason you have not resolved metadata. Please, try to remove cache manually (rm -rf app/cache/*) and then generate it again (php app/console cache:clear –env prod).
If it will not help – in order of debug, please, try to remove disabling and enabling of events at ResponseHistoryListener, lines 101 and 108.
Please, write here results of your tests – probably, depends on them we will need to do some fixes in application.
August 4, 2014 at 1:53 pm #34970Hi Yevhen!
First of all, thanks for the answer! Remove cache manually doesn’t solve the the problem, but, commenting the lines 101 and 108 from ResponseHistoryListener solve the problem and i can navigate normally through the site. Any ideas to how resolve the problem without commenting Oro Core lines?
Thanks a lot!
Bye bye
—
Fabian Castillo | CEO – SR. ConsultantOffices:
USA. +1 347 708 0101 | Argentina: +54 351 5982563 | Skype: fabiancastle
http://www.excedesoft.comAugust 5, 2014 at 1:49 am #34971Probably, it’s the problem from our side – we should not disable listeners from external bundles.
We’ll fix this issue as soon as possible. - AuthorReplies
The forum ‘OroPlatform – Installation/Technical Issues or Problems’ is closed to new topics and replies.