Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-20831

Properly handle path to images variants in REST responses

    Details

    • Sprint:
      Aconcagua Sprint 1

      Description

      Image variants need to be exposed via REST. However, for multiple reasons, they can't be exposed directly from a vnd.ez.api.Content response.

      The main problem is that doing so would imply iterating over every alias for every image in the content, and generate the alias before outputing its URI. In terms of performances, this just won't work.

      The first step is to provide specifications towards a solution.

        Issue Links

          Activity

          Hide
          Bertrand Dunogier added a comment -

          @doc: the spec is up-to-date, so I don't know if dedicated documentation should be written. Maybe a small example as it is quite a common use-case.

          Show
          Bertrand Dunogier added a comment - @doc: the spec is up-to-date, so I don't know if dedicated documentation should be written. Maybe a small example as it is quite a common use-case.
          Hide
          Vidar Langseid added a comment -

          Seems to be a regression here. I am unable to publish objects containing image fields now

          #################### - Client request BEGIN - #########################
          POST /api/ezp/v2/content/objects HTTP/1.1
          Host: ezpublish5.rhel61.qa.ez.local:8080
          User-Agent: eZ REST QA Tester
          Content-Length: 13227
          Accept:application/vnd.ez.api.Content+json
          Content-type:application/vnd.ez.api.ContentCreate+json
          Authorization: Basic YWRtaW46cHVibGlzaA==
           
          {
            "ContentCreate": {
              "ContentType": {
                "_href": "/content/types/48"
              },
              "mainLanguageCode": "eng-GB",
              "LocationCreate": {
                "ParentLocation": {
                  "_href": "/content/locations/1/2"
                },
                "priority": "0",
                "hidden": "false",
                "sortField": "PATH",
                "sortOrder": "ASC"
              },
              "Section": {
                "_href": "/content/sections/1"
              },
              "alwaysAvailable": "true",
              "User": {
                  "_href": "/user/users/14"
              },
              "modificationDate": "2012-09-30T12:30:00",
              "fields": {
                "field": [
                  {
                    "fieldDefinitionIdentifier": "name",
                    "languageCode": "eng-GB",
                    "fieldValue": "testObject1"
                  },{
                    "fieldDefinitionIdentifier": "image",
                    "languageCode": "eng-GB",
                    "fieldValue": {
                        "fileName": "vbanner.jpg",
                        "fileSize": 9210,
                        "data": "/9j/4AAQSkZJRgABAQEASABIAAD//gAXQ3Jl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ijdmd91sOhINvJRuwKJ+zrFJJFBsxNwFo+cHRS+6QwHxApJIGUmcOGjXxDzXDho11HmkksGti92g8jf9pzcNF9xukkg2ydmDB27wpRgrR8wSSQFjm4Owbu/SkGFQji6SSAtjhhkP0hPbhcLjsEkkGNsmbg8HIUowqlHyXSSW0TcmcfhVMfhblKpT0IYbXCSS0UpvhsTqoS3bzSSQBy5/KkbK4OFuSkkgC1DWSM1BKJU9cX2D278hJJAFwsY8XLQfUKGWigkGrLeiSSAKbsKiOxIQvEsGZH4w4ahJJYM2YjEaTJUvaCLAqpDEWvFikkgw0eG07stw4DS6PQSvjbYuJSSWmFN73OlJJ3KsQOtqkkgCfv1tOzCSSSAP//Z"
                    }
                  }
                ]
              }
            }
          }
           
           
          ##################### - Client request END - ##########################
          sending to target...done.
          Received from Target:
          ##################### - Target reply BEGIN - ##########################
          HTTP/1.1 406 Not Acceptable
          Date: Wed, 12 Jun 2013 11:40:10 GMT
          Server: Apache/2.2.15 (Red Hat)
          X-Powered-By: PHP/5.3.3
          Accept-Patch: application/vnd.ez.api.ContentUpdate+json
          Status: 406 Not Acceptable
          Cache-Control: no-cache
          Connection: close
          Transfer-Encoding: chunked
          Content-Type: application/vnd.ez.api.Content+json
           
          224a
          {"ErrorMessage":{"_media-type":"application\/vnd.ez.api.ErrorMessage+json","errorCode":406,"errorMessage":"Not Acceptable","errorDescription":"No value provided for 'imageId'.","trace":"#0 \/var\/www\/apache2php53\/ezpublish5\/vendor\/ezsystems\/ezpublish-kernel\/eZ\/Publish\/Core\/REST\/Common\/UrlHandler\/Prefixed.php(28): eZ\\Publish\\Core\\REST\\Common\\UrlHandler\\Pattern->generate('getImageVariati...', Array)\n#1 \/var\/www\/apache2php53\/ezpublish5\/vendor\/ezsystems\/ezpublish-kernel\/eZ\/Publish\/Core\/REST\/Common\/FieldTypeProcessor\/ImageProcessor.php(71): eZ\\Publish\\Core\\REST\\Common\\UrlHandler\\Prefixed->generate('getImageVariati...', Array)\n#2 \/var\/www\/apache2php53\/ezpublish5\/vendor\/ezsystems\/ezpublish-kernel\/eZ\/Publish\/Core\/REST\/Common\/Output\/FieldTypeSerializer.php(157): eZ\\Publish\\Core\\REST\\Common\\FieldTypeProcessor\\ImageProcessor->postProcessValueHash(Array)\n#3 \/var\/www\/apache2php53\/ezpublish5\/vendor\/ezsystems\/ezpublish-kernel\/eZ\/Publish\/Core\/REST\/Common\/Output\/FieldTypeSerializer.php(63): eZ\\Publish\\Core\\REST\\Common\\Output\\FieldTypeSerializer->serializeValue('fieldValue', Object(eZ\\Publish\\Core\\REST\\Common\\Output\\Generator\\Json), Object(eZ\\Publish\\Core\\Repository\\Values\\ContentType\\FieldType), Object(eZ\\Publish\\Core\\FieldType\\Image\\Value))\n#4 \/var\/www\/apache2php53\/ezpublish5\/vendor\/ezsystems\/ezpublish-kernel\/eZ\/Publish\/Core\/REST\/Server\/Output\/ValueObjectVisitor\/Version.php(121): eZ\\Publish\\Core\\REST\\Common\\Output\\FieldTypeSerializer->serializeFieldValue(Object(eZ\\Publish\\Core\\REST\\Common\\Output\\Generator\\Json), Object(eZ\\Publish\\Core\\Repository\\Values\\ContentType\\ContentType), Object(eZ\\Publish\\API\\Repository\\Values\\Content\\Field))\n#5 \/var\/www\/apache2php53\/ezpublish5\/vendor\/ezsystems\/ezpublish-kernel\/eZ\/Publish\/Core\/REST\/Server\/Output\/ValueObjectVisitor\/Version.php(81): eZ\\Publish\\Core\\REST\\Server\\Output\\ValueObjectVisitor\\Version->visitField(Object(eZ\\Publish\\Core\\REST\\Common\\Output\\Generator\\Json), Object(eZ\\Publish\\Core\\Repository\\Values\\ContentType\\ContentType), Object(eZ\\Publish\\API\\Repository\\Values\\Content\\Field))\n#6 \/var\/www\/apache2php53\/ezpublish5\/vendor\/ezsystems\/ezpublish-kernel\/eZ\/Publish\/Core\/REST\/Common\/Output\/Visitor.php(246): eZ\\Publish\\Core\\REST\\Server\\Output\\ValueObjectVisitor\\Version->visit(Object(eZ\\Publish\\Core\\REST\\Common\\Output\\Visitor), Object(eZ\\Publish\\Core\\REST\\Common\\Output\\Generator\\Json), Object(eZ\\Publish\\Core\\REST\\Server\\Values\\Version))\n#7 \/var\/www\/apache2php53\/ezpublish5\/vendor\/ezsystems\/ezpublish-kernel\/eZ\/Publish\/Core\/REST\/Server\/Output\/ValueObjectVisitor\/RestContent.php(99): eZ\\Publish\\Core\\REST\\Common\\Output\\Visitor->visitValueObject(Object(eZ\\Publish\\Core\\REST\\Server\\Values\\Version))\n#8 \/var\/www\/apache2php53\/ezpublish5\/vendor\/ezsystems\/ezpublish-kernel\/eZ\/Publish\/Core\/REST\/Server\/Output\/ValueObjectVisitor\/CreatedContent.php(29): eZ\\Publish\\Core\\REST\\Server\\Output\\ValueObjectVisitor\\RestContent->visit(Object(eZ\\Publish\\Core\\REST\\Common\\Output\\Visitor), Object(eZ\\Publish\\Core\\REST\\Common\\Output\\Generator\\Json), Object(eZ\\Publish\\Core\\REST\\Server\\Values\\RestContent))\n#9 \/var\/www\/apache2php53\/ezpublish5\/vendor\/ezsystems\/ezpublish-kernel\/eZ\/Publish\/Core\/REST\/Common\/Output\/Visitor.php(246): eZ\\Publish\\Core\\REST\\Server\\Output\\ValueObjectVisitor\\CreatedContent->visit(Object(eZ\\Publish\\Core\\REST\\Common\\Output\\Visitor), Object(eZ\\Publish\\Core\\REST\\Common\\Output\\Generator\\Json), Object(eZ\\Publish\\Core\\REST\\Server\\Values\\CreatedContent))\n#10 \/var\/www\/apache2php53\/ezpublish5\/vendor\/ezsystems\/ezpublish-kernel\/eZ\/Publish\/Core\/REST\/Common\/Output\/Visitor.php(189): eZ\\Publish\\Core\\REST\\Common\\Output\\Visitor->visitValueObject(Object(eZ\\Publish\\Core\\REST\\Server\\Values\\CreatedContent))\n#11 \/var\/www\/apache2php53\/ezpublish5\/vendor\/ezsystems\/ezpublish-kernel\/eZ\/Publish\/Core\/REST\/Server\/View\/AcceptHeaderVisitorDispatcher.php(70): eZ\\Publish\\Core\\REST\\Common\\Output\\Visitor->visit(Object(eZ\\Publish\\Core\\REST\\Server\\Values\\CreatedContent))\n#12 \/var\/www\/apache2php53\/ezpublish5\/vendor\/ezsystems\/ezpublish-kernel\/eZ\/Bundle\/EzPublishRestBundle\/EventListener\/RestListener.php(192): eZ\\Publish\\Core\\REST\\Server\\View\\AcceptHeaderVisitorDispatcher->dispatch(Object(eZ\\Publish\\Core\\REST\\Server\\Request), Object(eZ\\Publish\\Core\\REST\\Server\\Values\\CreatedContent))\n#13 \/var\/www\/apache2php53\/ezpublish5\/vendor\/ezsystems\/ezpublish-kernel\/eZ\/Bundle\/EzPublishRestBundle\/EventListener\/RestListener.php(94): eZ\\Bundle\\EzPublishRestBundle\\EventListener\\RestListener->visitResult(Object(eZ\\Publish\\Core\\REST\\Server\\Values\\CreatedContent))\n#14 [internal function]: eZ\\Bundle\\EzPublishRestBundle\\EventListener\\RestListener->onKernelResultView(Object(Symfony\\Component\\HttpKernel\\Event\\GetResponseForControllerResultEvent))\n#15 \/var\/www\/apache2php53\/ezpublish5\/ezpublish\/cache\/prod\/classes.php(3442): call_user_func(Array, Object(Symfony\\Component\\HttpKernel\\Event\\GetResponseForControllerResultEvent))\n#16 \/var\/www\/apache2php53\/ezpublish5\/ezpublish\/cache\/prod\/classes.php(3375): Symfony\\Component\\EventDispatcher\\EventDispatcher->doDispatch(Array, 'kernel.view', Object(Symfony\\Component\\HttpKernel\\Event\\GetResponseForControllerResultEvent))\n#17 \/var\/www\/apache2php53\/ezpublish5\/ezpublish\/cache\/prod\/classes.php(3539): Symfony\\Component\\EventDispatcher\\EventDispatcher->dispatch('kernel.view', Object(Symfony\\Component\\HttpKernel\\Event\\GetResponseForControllerResultEvent))\n#18 \/var\/www\/apache2php53\/ezpublish5\/vendor\/symfony\/symfony\/src\/Symfony\/Component\/HttpKernel\/HttpKernel.php(134): Symfony\\Component\\EventDispatcher\\ContainerAwareEventDispatcher->dispatch('kernel.view', Object(Symfony\\Component\\HttpKernel\\Event\\GetResponseForControllerResultEvent))\n#19 \/var\/www\/apache2php53\/ezpublish5\/vendor\/symfony\/symfony\/src\/Symfony\/Component\/HttpKernel\/HttpKernel.php(73): Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw(Object(Symfony\\Component\\HttpFoundation\\Request), 1)\n#20 \/var\/www\/apache2php53\/ezpublish5\/vendor\/symfony\/symfony\/src\/Symfony\/Component\/HttpKernel\/DependencyInjection\/ContainerAwareHttpKernel.php(57): Symfony\\Component\\HttpKernel\\HttpKernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request), 1, true)\n#21 \/var\/www\/apache2php53\/ezpublish5\/vendor\/symfony\/symfony\/src\/Symfony\/Component\/HttpKernel\/Kernel.php(199): Symfony\\Component\\HttpKernel\\DependencyInjection\\ContainerAwareHttpKernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request), 1, true)\n#22 \/var\/www\/apache2php53\/ezpublish5\/vendor\/symfony\/symfony\/src\/Symfony\/Component\/HttpKernel\/HttpCache\/HttpCache.php(473): Symfony\\Component\\HttpKernel\\Kernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request), 1, true)\n#23 \/var\/www\/apache2php53\/ezpublish5\/vendor\/symfony\/symfony\/src\/Symfony\/Bundle\/FrameworkBundle\/HttpCache\/HttpCache.php(60): Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache->forward(Object(Symfony\\Component\\HttpFoundation\\Request), true, NULL)\n#24 \/var\/www\/apache2php53\/ezpublish5\/vendor\/symfony\/symfony\/src\/Symfony\/Component\/HttpKernel\/HttpCache\/HttpCache.php(244): Symfony\\Bundle\\FrameworkBundle\\HttpCache\\HttpCache->forward(Object(Symfony\\Component\\HttpFoundation\\Request), true)\n#25 \/var\/www\/apache2php53\/ezpublish5\/vendor\/symfony\/symfony\/src\/Symfony\/Component\/HttpKernel\/HttpCache\/HttpCache.php(261): Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache->pass(Object(Symfony\\Component\\HttpFoundation\\Request), true)\n#26 \/var\/www\/apache2php53\/ezpublish5\/vendor\/ezsystems\/ezpublish-kernel\/eZ\/Bundle\/EzPublishCoreBundle\/HttpCache.php(38): Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache->invalidate(Object(Symfony\\Component\\HttpFoundation\\Request), true)\n#27 \/var\/www\/apache2php53\/ezpublish5\/vendor\/symfony\/symfony\/src\/Symfony\/Component\/HttpKernel\/HttpCache\/HttpCache.php(190): eZ\\Bundle\\EzPublishCoreBundle\\HttpCache->invalidate(Object(Symfony\\Component\\HttpFoundation\\Request), true)\n#28 \/var\/www\/apache2php53\/ezpublish5\/web\/index.php(59): Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache->handle(Object(Symfony\\Component\\HttpFoundation\\Request))\n#29 {main}","file":"\/var\/www\/apache2php53\/ezpublish5\/vendor\/ezsystems\/ezpublish-kernel\/eZ\/Publish\/Core\/REST\/Common\/UrlHandler\/Pattern.php","line":182}}
           

          Show
          Vidar Langseid added a comment - Seems to be a regression here. I am unable to publish objects containing image fields now #################### - Client request BEGIN - ######################### POST /api/ezp/v2/content/objects HTTP/1.1 Host: ezpublish5.rhel61.qa.ez.local:8080 User-Agent: eZ REST QA Tester Content-Length: 13227 Accept:application/vnd.ez.api.Content+json Content-type:application/vnd.ez.api.ContentCreate+json Authorization: Basic YWRtaW46cHVibGlzaA== { "ContentCreate": { "ContentType": { "_href": "/content/types/48" }, "mainLanguageCode": "eng-GB", "LocationCreate": { "ParentLocation": { "_href": "/content/locations/1/2" }, "priority": "0", "hidden": "false", "sortField": "PATH", "sortOrder": "ASC" }, "Section": { "_href": "/content/sections/1" }, "alwaysAvailable": "true", "User": { "_href": "/user/users/14" }, "modificationDate": "2012-09-30T12:30:00", "fields": { "field": [ { "fieldDefinitionIdentifier": "name", "languageCode": "eng-GB", "fieldValue": "testObject1" },{ "fieldDefinitionIdentifier": "image", "languageCode": "eng-GB", "fieldValue": { "fileName": "vbanner.jpg", "fileSize": 9210, "data": "/9j/4AAQSkZJRgABAQEASABIAA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PxJww4b5gkkijdmd91sOhINvJRuwKJ+zrFJJFBsxNwFo+cHRS+6QwHxApJIGUmcOGjXxDzXDho11HmkksGti92g8jf9pzcNF9xukkg2ydmDB27wpRgrR8wSSQFjm4Owbu/SkGFQji6SSAtjhhkP0hPbhcLjsEkkGNsmbg8HIUowqlHyXSSW0TcmcfhVMfhblKpT0IYbXCSS0UpvhsTqoS3bzSSQBy5/KkbK4OFuSkkgC1DWSM1BKJU9cX2D278hJJAFwsY8XLQfUKGWigkGrLeiSSAKbsKiOxIQvEsGZH4w4ahJJYM2YjEaTJUvaCLAqpDEWvFikkgw0eG07stw4DS6PQSvjbYuJSSWmFN73OlJJ3KsQOtqkkgCfv1tOzCSSSAP//Z" } } ] } } } ##################### - Client request END - ########################## sending to target...done. Received from Target: ##################### - Target reply BEGIN - ########################## HTTP/1.1 406 Not Acceptable Date: Wed, 12 Jun 2013 11:40:10 GMT Server: Apache/2.2.15 (Red Hat) X-Powered-By: PHP/5.3.3 Accept-Patch: application/vnd.ez.api.ContentUpdate+json Status: 406 Not Acceptable Cache-Control: no-cache Connection: close Transfer-Encoding: chunked Content-Type: application/vnd.ez.api.Content+json 224a {"ErrorMessage":{"_media-type":"application\/vnd.ez.api.ErrorMessage+json","errorCode":406,"errorMessage":"Not Acceptable","errorDescription":"No value provided for 'imageId'.","trace":"#0 \/var\/www\/apache2php53\/ezpublish5\/vendor\/ezsystems\/ezpublish-kernel\/eZ\/Publish\/Core\/REST\/Common\/UrlHandler\/Prefixed.php(28): eZ\\Publish\\Core\\REST\\Common\\UrlHandler\\Pattern->generate('getImageVariati...', Array)\n#1 \/var\/www\/apache2php53\/ezpublish5\/vendor\/ezsystems\/ezpublish-kernel\/eZ\/Publish\/Core\/REST\/Common\/FieldTypeProcessor\/ImageProcessor.php(71): eZ\\Publish\\Core\\REST\\Common\\UrlHandler\\Prefixed->generate('getImageVariati...', Array)\n#2 \/var\/www\/apache2php53\/ezpublish5\/vendor\/ezsystems\/ezpublish-kernel\/eZ\/Publish\/Core\/REST\/Common\/Output\/FieldTypeSerializer.php(157): eZ\\Publish\\Core\\REST\\Common\\FieldTypeProcessor\\ImageProcessor->postProcessValueHash(Array)\n#3 \/var\/www\/apache2php53\/ezpublish5\/vendor\/ezsystems\/ezpublish-kernel\/eZ\/Publish\/Core\/REST\/Common\/Output\/FieldTypeSerializer.php(63): eZ\\Publish\\Core\\REST\\Common\\Output\\FieldTypeSerializer->serializeValue('fieldValue', Object(eZ\\Publish\\Core\\REST\\Common\\Output\\Generator\\Json), Object(eZ\\Publish\\Core\\Repository\\Values\\ContentType\\FieldType), Object(eZ\\Publish\\Core\\FieldType\\Image\\Value))\n#4 \/var\/www\/apache2php53\/ezpublish5\/vendor\/ezsystems\/ezpublish-kernel\/eZ\/Publish\/Core\/REST\/Server\/Output\/ValueObjectVisitor\/Version.php(121): eZ\\Publish\\Core\\REST\\Common\\Output\\FieldTypeSerializer->serializeFieldValue(Object(eZ\\Publish\\Core\\REST\\Common\\Output\\Generator\\Json), Object(eZ\\Publish\\Core\\Repository\\Values\\ContentType\\ContentType), Object(eZ\\Publish\\API\\Repository\\Values\\Content\\Field))\n#5 \/var\/www\/apache2php53\/ezpublish5\/vendor\/ezsystems\/ezpublish-kernel\/eZ\/Publish\/Core\/REST\/Server\/Output\/ValueObjectVisitor\/Version.php(81): eZ\\Publish\\Core\\REST\\Server\\Output\\ValueObjectVisitor\\Version->visitField(Object(eZ\\Publish\\Core\\REST\\Common\\Output\\Generator\\Json), Object(eZ\\Publish\\Core\\Repository\\Values\\ContentType\\ContentType), Object(eZ\\Publish\\API\\Repository\\Values\\Content\\Field))\n#6 \/var\/www\/apache2php53\/ezpublish5\/vendor\/ezsystems\/ezpublish-kernel\/eZ\/Publish\/Core\/REST\/Common\/Output\/Visitor.php(246): eZ\\Publish\\Core\\REST\\Server\\Output\\ValueObjectVisitor\\Version->visit(Object(eZ\\Publish\\Core\\REST\\Common\\Output\\Visitor), Object(eZ\\Publish\\Core\\REST\\Common\\Output\\Generator\\Json), Object(eZ\\Publish\\Core\\REST\\Server\\Values\\Version))\n#7 \/var\/www\/apache2php53\/ezpublish5\/vendor\/ezsystems\/ezpublish-kernel\/eZ\/Publish\/Core\/REST\/Server\/Output\/ValueObjectVisitor\/RestContent.php(99): eZ\\Publish\\Core\\REST\\Common\\Output\\Visitor->visitValueObject(Object(eZ\\Publish\\Core\\REST\\Server\\Values\\Version))\n#8 \/var\/www\/apache2php53\/ezpublish5\/vendor\/ezsystems\/ezpublish-kernel\/eZ\/Publish\/Core\/REST\/Server\/Output\/ValueObjectVisitor\/CreatedContent.php(29): eZ\\Publish\\Core\\REST\\Server\\Output\\ValueObjectVisitor\\RestContent->visit(Object(eZ\\Publish\\Core\\REST\\Common\\Output\\Visitor), Object(eZ\\Publish\\Core\\REST\\Common\\Output\\Generator\\Json), Object(eZ\\Publish\\Core\\REST\\Server\\Values\\RestContent))\n#9 \/var\/www\/apache2php53\/ezpublish5\/vendor\/ezsystems\/ezpublish-kernel\/eZ\/Publish\/Core\/REST\/Common\/Output\/Visitor.php(246): eZ\\Publish\\Core\\REST\\Server\\Output\\ValueObjectVisitor\\CreatedContent->visit(Object(eZ\\Publish\\Core\\REST\\Common\\Output\\Visitor), Object(eZ\\Publish\\Core\\REST\\Common\\Output\\Generator\\Json), Object(eZ\\Publish\\Core\\REST\\Server\\Values\\CreatedContent))\n#10 \/var\/www\/apache2php53\/ezpublish5\/vendor\/ezsystems\/ezpublish-kernel\/eZ\/Publish\/Core\/REST\/Common\/Output\/Visitor.php(189): eZ\\Publish\\Core\\REST\\Common\\Output\\Visitor->visitValueObject(Object(eZ\\Publish\\Core\\REST\\Server\\Values\\CreatedContent))\n#11 \/var\/www\/apache2php53\/ezpublish5\/vendor\/ezsystems\/ezpublish-kernel\/eZ\/Publish\/Core\/REST\/Server\/View\/AcceptHeaderVisitorDispatcher.php(70): eZ\\Publish\\Core\\REST\\Common\\Output\\Visitor->visit(Object(eZ\\Publish\\Core\\REST\\Server\\Values\\CreatedContent))\n#12 \/var\/www\/apache2php53\/ezpublish5\/vendor\/ezsystems\/ezpublish-kernel\/eZ\/Bundle\/EzPublishRestBundle\/EventListener\/RestListener.php(192): eZ\\Publish\\Core\\REST\\Server\\View\\AcceptHeaderVisitorDispatcher->dispatch(Object(eZ\\Publish\\Core\\REST\\Server\\Request), Object(eZ\\Publish\\Core\\REST\\Server\\Values\\CreatedContent))\n#13 \/var\/www\/apache2php53\/ezpublish5\/vendor\/ezsystems\/ezpublish-kernel\/eZ\/Bundle\/EzPublishRestBundle\/EventListener\/RestListener.php(94): eZ\\Bundle\\EzPublishRestBundle\\EventListener\\RestListener->visitResult(Object(eZ\\Publish\\Core\\REST\\Server\\Values\\CreatedContent))\n#14 [internal function]: eZ\\Bundle\\EzPublishRestBundle\\EventListener\\RestListener->onKernelResultView(Object(Symfony\\Component\\HttpKernel\\Event\\GetResponseForControllerResultEvent))\n#15 \/var\/www\/apache2php53\/ezpublish5\/ezpublish\/cache\/prod\/classes.php(3442): call_user_func(Array, Object(Symfony\\Component\\HttpKernel\\Event\\GetResponseForControllerResultEvent))\n#16 \/var\/www\/apache2php53\/ezpublish5\/ezpublish\/cache\/prod\/classes.php(3375): Symfony\\Component\\EventDispatcher\\EventDispatcher->doDispatch(Array, 'kernel.view', Object(Symfony\\Component\\HttpKernel\\Event\\GetResponseForControllerResultEvent))\n#17 \/var\/www\/apache2php53\/ezpublish5\/ezpublish\/cache\/prod\/classes.php(3539): Symfony\\Component\\EventDispatcher\\EventDispatcher->dispatch('kernel.view', Object(Symfony\\Component\\HttpKernel\\Event\\GetResponseForControllerResultEvent))\n#18 \/var\/www\/apache2php53\/ezpublish5\/vendor\/symfony\/symfony\/src\/Symfony\/Component\/HttpKernel\/HttpKernel.php(134): Symfony\\Component\\EventDispatcher\\ContainerAwareEventDispatcher->dispatch('kernel.view', Object(Symfony\\Component\\HttpKernel\\Event\\GetResponseForControllerResultEvent))\n#19 \/var\/www\/apache2php53\/ezpublish5\/vendor\/symfony\/symfony\/src\/Symfony\/Component\/HttpKernel\/HttpKernel.php(73): Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw(Object(Symfony\\Component\\HttpFoundation\\Request), 1)\n#20 \/var\/www\/apache2php53\/ezpublish5\/vendor\/symfony\/symfony\/src\/Symfony\/Component\/HttpKernel\/DependencyInjection\/ContainerAwareHttpKernel.php(57): Symfony\\Component\\HttpKernel\\HttpKernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request), 1, true)\n#21 \/var\/www\/apache2php53\/ezpublish5\/vendor\/symfony\/symfony\/src\/Symfony\/Component\/HttpKernel\/Kernel.php(199): Symfony\\Component\\HttpKernel\\DependencyInjection\\ContainerAwareHttpKernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request), 1, true)\n#22 \/var\/www\/apache2php53\/ezpublish5\/vendor\/symfony\/symfony\/src\/Symfony\/Component\/HttpKernel\/HttpCache\/HttpCache.php(473): Symfony\\Component\\HttpKernel\\Kernel->handle(Object(Symfony\\Component\\HttpFoundation\\Request), 1, true)\n#23 \/var\/www\/apache2php53\/ezpublish5\/vendor\/symfony\/symfony\/src\/Symfony\/Bundle\/FrameworkBundle\/HttpCache\/HttpCache.php(60): Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache->forward(Object(Symfony\\Component\\HttpFoundation\\Request), true, NULL)\n#24 \/var\/www\/apache2php53\/ezpublish5\/vendor\/symfony\/symfony\/src\/Symfony\/Component\/HttpKernel\/HttpCache\/HttpCache.php(244): Symfony\\Bundle\\FrameworkBundle\\HttpCache\\HttpCache->forward(Object(Symfony\\Component\\HttpFoundation\\Request), true)\n#25 \/var\/www\/apache2php53\/ezpublish5\/vendor\/symfony\/symfony\/src\/Symfony\/Component\/HttpKernel\/HttpCache\/HttpCache.php(261): Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache->pass(Object(Symfony\\Component\\HttpFoundation\\Request), true)\n#26 \/var\/www\/apache2php53\/ezpublish5\/vendor\/ezsystems\/ezpublish-kernel\/eZ\/Bundle\/EzPublishCoreBundle\/HttpCache.php(38): Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache->invalidate(Object(Symfony\\Component\\HttpFoundation\\Request), true)\n#27 \/var\/www\/apache2php53\/ezpublish5\/vendor\/symfony\/symfony\/src\/Symfony\/Component\/HttpKernel\/HttpCache\/HttpCache.php(190): eZ\\Bundle\\EzPublishCoreBundle\\HttpCache->invalidate(Object(Symfony\\Component\\HttpFoundation\\Request), true)\n#28 \/var\/www\/apache2php53\/ezpublish5\/web\/index.php(59): Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache->handle(Object(Symfony\\Component\\HttpFoundation\\Request))\n#29 {main}","file":"\/var\/www\/apache2php53\/ezpublish5\/vendor\/ezsystems\/ezpublish-kernel\/eZ\/Publish\/Core\/REST\/Common\/UrlHandler\/Pattern.php","line":182}}  
          Hide
          Bertrand Dunogier added a comment -

          Alright, found something. It only happens if you explicitely request a Content when creating (with the Accept header).

          Show
          Bertrand Dunogier added a comment - Alright, found something. It only happens if you explicitely request a Content when creating (with the Accept header).
          Show
          Bertrand Dunogier added a comment - Regression fixed in master: https://github.com/ezsystems/ezpublish-kernel/commit/d6045af6ef64341b8f0674ce395059ce142edf46 .
          Hide
          Joao Pingo (Inactive) added a comment -

          Tested using tc-1723
          Test Passed .. QA Done

          Show
          Joao Pingo (Inactive) added a comment - Tested using tc-1723 Test Passed .. QA Done

            People

            • Assignee:
              Unassigned
              Reporter:
              Bertrand Dunogier
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 6 hours, 39 minutes
                2d 6h 39m

                  Agile