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

Runtime exception using LocationService loadLocationChildren and getLocationChildCount methods

    XMLWordPrintable

Details

    Description

      Step to reproduce the issue:

      1. Create a sub controller
      2. Load location's children (or count them) using the LocationService

      $repository = $this->getRepository();
      $locationService = $repository->getLocationService();
      $locationService->loadLocationChildren( $locationService->loadLocation( 2 ) );
      $locationService->getLocationChildCount( $locationService->loadLocation( 2 ) );
      

      Error:

      An exception has been thrown during the rendering of a template ("No conversion for criterion found.")
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            97c1441b-58f8-40de-bbc7-c841c76bdff7@accounts.ibexa.co Gabriele Perego
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 30 minutes
                1h 30m