Skip to content

Instantly share code, notes, and snippets.

@dpobel
Created December 1, 2016 08:42
Show Gist options
  • Save dpobel/f13327b30dadaed93c2cff7e449f8934 to your computer and use it in GitHub Desktop.
Save dpobel/f13327b30dadaed93c2cff7e449f8934 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<ErrorMessage media-type="application/vnd.ez.api.ErrorMessage+xml">
<errorCode>404</errorCode>
<errorMessage>Not Found</errorMessage>
<errorDescription>Could not find 'location' with identifier ''</errorDescription>
<trace>#0 /home/dp/dev/ezplatform/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Persistence/Legacy/Content/Location/Gateway/ExceptionConversion.php(59): eZ\Publish\Core\Persistence\Legacy\Content\Location\Gateway\DoctrineDatabase-&gt;getBasicNodeData('')
#1 /home/dp/dev/ezplatform/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Persistence/Legacy/Content/TreeHandler.php(156): eZ\Publish\Core\Persistence\Legacy\Content\Location\Gateway\ExceptionConversion-&gt;getBasicNodeData('')
#2 /home/dp/dev/ezplatform/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Persistence/Legacy/Content/Location/Handler.php(111): eZ\Publish\Core\Persistence\Legacy\Content\TreeHandler-&gt;loadLocation('')
#3 /home/dp/dev/ezplatform/app/cache/dev/appDevDebugProjectContainer.php(41265): eZ\Publish\Core\Persistence\Legacy\Content\Location\Handler-&gt;load('')
#4 /home/dp/dev/ezplatform/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Persistence/Cache/LocationHandler.php(32): eZPublishCorePersistenceLegacyContentLocationHandler_0000000070b44d04000000005d9cba14598d089181e06a33fb22131eba0edddc-&gt;load('')
#5 /home/dp/dev/ezplatform/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Repository/LocationService.php(201): eZ\Publish\Core\Persistence\Cache\LocationHandler-&gt;load('')
#6 /home/dp/dev/ezplatform/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/SignalSlot/LocationService.php(103): eZ\Publish\Core\Repository\LocationService-&gt;loadLocation('')
#7 /home/dp/dev/ezplatform/app/cache/dev/appDevDebugProjectContainer.php(39465): eZ\Publish\Core\SignalSlot\LocationService-&gt;loadLocation('')
#8 /home/dp/dev/ezplatform/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/REST/Common/FieldTypeProcessor/BaseRelationProcessor.php(65): eZPublishCoreRepositoryLocationService_0000000070b442a0000000005d9cba14598d089181e06a33fb22131eba0edddc-&gt;loadLocation('')
#9 /home/dp/dev/ezplatform/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/REST/Common/FieldTypeProcessor/RelationProcessor.php(41): eZ\Publish\Core\REST\Common\FieldTypeProcessor\BaseRelationProcessor-&gt;mapToLocationHref('')
#10 /home/dp/dev/ezplatform/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/REST/Common/Output/FieldTypeSerializer.php(97): eZ\Publish\Core\REST\Common\FieldTypeProcessor\RelationProcessor-&gt;postProcessFieldSettingsHash(Array)
#11 /home/dp/dev/ezplatform/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/REST/Server/Output/ValueObjectVisitor/RestFieldDefinition.php(127): eZ\Publish\Core\REST\Common\Output\FieldTypeSerializer-&gt;serializeFieldSettings(Object(eZ\Publish\Core\REST\Common\Output\Generator\Xml), 'ezobjectrelatio...', Array)
#12 /home/dp/dev/ezplatform/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/REST/Common/Output/ValueObjectVisitorDispatcher.php(73): eZ\Publish\Core\REST\Server\Output\ValueObjectVisitor\RestFieldDefinition-&gt;visit(Object(eZ\Publish\Core\REST\Common\Output\Visitor), Object(eZ\Publish\Core\REST\Common\Output\Generator\Xml), Object(eZ\Publish\Core\REST\Server\Values\RestFieldDefinition))
#13 /home/dp/dev/ezplatform/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/REST/Common/Output/Visitor.php(142): eZ\Publish\Core\REST\Common\Output\ValueObjectVisitorDispatcher-&gt;visit(Object(eZ\Publish\Core\REST\Server\Values\RestFieldDefinition))
#14 /home/dp/dev/ezplatform/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/REST/Server/Output/ValueObjectVisitor/FieldDefinitionList.php(55): eZ\Publish\Core\REST\Common\Output\Visitor-&gt;visitValueObject(Object(eZ\Publish\Core\REST\Server\Values\RestFieldDefinition))
#15 /home/dp/dev/ezplatform/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/REST/Common/Output/ValueObjectVisitorDispatcher.php(73): eZ\Publish\Core\REST\Server\Output\ValueObjectVisitor\FieldDefinitionList-&gt;visit(Object(eZ\Publish\Core\REST\Common\Output\Visitor), Object(eZ\Publish\Core\REST\Common\Output\Generator\Xml), Object(eZ\Publish\Core\REST\Server\Values\FieldDefinitionList))
#16 /home/dp/dev/ezplatform/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/REST/Common/Output/Visitor.php(142): eZ\Publish\Core\REST\Common\Output\ValueObjectVisitorDispatcher-&gt;visit(Object(eZ\Publish\Core\REST\Server\Values\FieldDefinitionList))
#17 /home/dp/dev/ezplatform/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/REST/Server/Output/ValueObjectVisitor/RestContentType.php(156): eZ\Publish\Core\REST\Common\Output\Visitor-&gt;visitValueObject(Object(eZ\Publish\Core\REST\Server\Values\FieldDefinitionList))
#18 /home/dp/dev/ezplatform/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/REST/Common/Output/ValueObjectVisitorDispatcher.php(73): eZ\Publish\Core\REST\Server\Output\ValueObjectVisitor\RestContentType-&gt;visit(Object(eZ\Publish\Core\REST\Common\Output\Visitor), Object(eZ\Publish\Core\REST\Common\Output\Generator\Xml), Object(eZ\Publish\Core\REST\Server\Values\RestContentType))
#19 /home/dp/dev/ezplatform/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/REST/Common/Output/Visitor.php(142): eZ\Publish\Core\REST\Common\Output\ValueObjectVisitorDispatcher-&gt;visit(Object(eZ\Publish\Core\REST\Server\Values\RestContentType))
#20 /home/dp/dev/ezplatform/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/REST/Common/Output/Visitor.php(104): eZ\Publish\Core\REST\Common\Output\Visitor-&gt;visitValueObject(Object(eZ\Publish\Core\REST\Server\Values\RestContentType))
#21 /home/dp/dev/ezplatform/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/REST/Server/View/AcceptHeaderVisitorDispatcher.php(58): eZ\Publish\Core\REST\Common\Output\Visitor-&gt;visit(Object(eZ\Publish\Core\REST\Server\Values\RestContentType))
#22 /home/dp/dev/ezplatform/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishRestBundle/EventListener/ResponseListener.php(63): eZ\Publish\Core\REST\Server\View\AcceptHeaderVisitorDispatcher-&gt;dispatch(Object(Symfony\Component\HttpFoundation\Request), Object(eZ\Publish\Core\REST\Server\Values\RestContentType))
#23 [internal function]: eZ\Bundle\EzPublishRestBundle\EventListener\ResponseListener-&gt;onKernelResultView(Object(Symfony\Component\HttpKernel\Event\GetResponseForControllerResultEvent), 'kernel.view', Object(Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher))
#24 /home/dp/dev/ezplatform/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php(61): call_user_func(Array, Object(Symfony\Component\HttpKernel\Event\GetResponseForControllerResultEvent), 'kernel.view', Object(Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher))
#25 [internal function]: Symfony\Component\EventDispatcher\Debug\WrappedListener-&gt;__invoke(Object(Symfony\Component\HttpKernel\Event\GetResponseForControllerResultEvent), 'kernel.view', Object(Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher))
#26 /home/dp/dev/ezplatform/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(184): call_user_func(Object(Symfony\Component\EventDispatcher\Debug\WrappedListener), Object(Symfony\Component\HttpKernel\Event\GetResponseForControllerResultEvent), 'kernel.view', Object(Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher))
#27 /home/dp/dev/ezplatform/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(46): Symfony\Component\EventDispatcher\EventDispatcher-&gt;doDispatch(Array, 'kernel.view', Object(Symfony\Component\HttpKernel\Event\GetResponseForControllerResultEvent))
#28 /home/dp/dev/ezplatform/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php(140): Symfony\Component\EventDispatcher\EventDispatcher-&gt;dispatch('kernel.view', Object(Symfony\Component\HttpKernel\Event\GetResponseForControllerResultEvent))
#29 /home/dp/dev/ezplatform/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(149): Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher-&gt;dispatch('kernel.view', Object(Symfony\Component\HttpKernel\Event\GetResponseForControllerResultEvent))
#30 /home/dp/dev/ezplatform/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(64): Symfony\Component\HttpKernel\HttpKernel-&gt;handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#31 /home/dp/dev/ezplatform/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php(69): Symfony\Component\HttpKernel\HttpKernel-&gt;handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#32 /home/dp/dev/ezplatform/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(185): Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel-&gt;handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#33 /home/dp/dev/ezplatform/web/app.php(67): Symfony\Component\HttpKernel\Kernel-&gt;handle(Object(Symfony\Component\HttpFoundation\Request))
#34 {main}</trace>
<file>/home/dp/dev/ezplatform/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Persistence/Legacy/Content/Location/Gateway/DoctrineDatabase.php</file>
<line>86</line>
</ErrorMessage>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment