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

eZREST v2 : Lookup UrlAliases by location do not work ( empty dataset is returned )

    XMLWordPrintable

Details

    Description

      Trying to do REST call as described in spec, "1.3.2.11.2 List UrlAliases for location"

      Trying to get UrlAliases for node 62. As you can see, server returns 'UrlAlias' as an empty array

      #################### - Client request BEGIN - #########################
      GET /api/ezp/v2/content/locations/1/2/62/urlaliases HTTP/1.1
      Host: ezpublish5.rhel61.qa.ez.no:8080
      User-Agent: eZ REST QA Tester
      Authorization: Basic YWRtaW46cHVibGlzaA==
      Accept: application/vnd.ez.api.UrlAliasRefList+json
      
      
      ##################### - Client request END - ##########################
      sending to target...done.
      Received from Target:
      ##################### - Target reply BEGIN - ##########################
      HTTP/1.1 200 OK
      Date: Wed, 20 Feb 2013 12:50:17 GMT
      Server: Apache/2.2.15 (Red Hat)
      X-Powered-By: PHP/5.3.3
      Cache-Control: private
      Connection: close
      Transfer-Encoding: chunked
      Content-Type: application/vnd.ez.api.UrlAliasRefList+json
      
      a3
      {"UrlAliasRefList":{"_media-type":"application\/vnd.ez.api.UrlAliasRefList+json","_href":"\/api\/ezp\/v2\/content\/locations\/1\/2\/62\/urlaliases","UrlAlias":[]}}
      
      ###################### - Target reply END - ###########################
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            vidar.langseid@ibexa.co Vidar Langseid
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: