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

Move childCount out of Location Value object

    XMLWordPrintable

Details

    Description

      • Refactor API & Core/Repository loadLocationChildren() to return LocationList value
        • Note: Add doc and impl so that $limit = 0 means you are doing a pure count, like in SearchService
      • Remove Location->childCount.

      Goal: Move the count from Location to the loadLocationChildren() return value to improve performance of loading Locations by forcing it to be on demand and make the Location value object cacheable across user permissions.

      Note: Remember to check REST impl (can be optimized with this).

      Attachments

        Activity

          People

            Unassigned Unassigned
            andre.romcke-obsolete@ez.no André Rømcke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 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 - 4 days, 1 hour, 20 minutes
                4d 1h 20m