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

Custom REST API routes (v2) are not accessible from the legacy backend

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: High High
    • Resolution: Obsolete
    • Affects Version/s: 5.3, 2014.05, 5.4.0
    • Fix Version/s: None
    • Component/s: Platform > REST API v2
    • Labels:
    • Environment:

      eZ Publish Community 2014.05, nginx

      Description

      I have extended the REST API as described in the official documentation, and I can access my newly created API route from my frontend siteaccess, so e.g.

      http://frontend.ezpublish.local/api/ezp/v2/my_rest_bundle/hello

      When I call the same route from the legacy backend

      http://backend.ezpublish.local/api/ezp/v2/my_rest_bundle/hello

      I get a kernel(20) error page.

      The default REST API routes provided by eZ Publish out of the box work, so e.g.

      http://frontend.ezpublish.local/api/ezp/v2/content/types
      and
      http://backend.ezpublish.local/api/ezp/v2/content/types

      both return the expected result.

      I would like to be able to access my custom REST API from the legacy backend, too.

        Issue Links

          Activity

          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Confirmed Confirmed
          163d 22h 4m 1 Bertrand Dunogier 24/Nov/14 9:10 AM
          Confirmed Confirmed Backlog Backlog
          20s 1 Bertrand Dunogier 24/Nov/14 9:10 AM
          Backlog Backlog Closed Closed
          105d 9h 41m 1 André Rømcke 09/Mar/15 6:51 PM

            People

            • Assignee:
              Unassigned
              Reporter:
              Jérôme Gamez
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: