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

Improve location handling in preview

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: High High
    • 5.4.3, 2015.05
    • 5.2, 5.3, 5.4.0
    • Platform stack
    • None

    Description

      Location handling in content preview has a few edge cases. The main one is that when the first version of a Content is previewed, it does not have a location yet.

      In 5.3, this was worked around by returning a fake Location object, with a draft status. It covered some of the use-cases, but not all, as discussed in EZP-23589.

      This can be improved by fetching node assignment data for the content when applicable, and improving the fake location with this data (parent location id, depth). This should make more override rules behave as expected.

      The location's id should still be empty, as it really doesn't have one.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bertrand.dunogier@ibexa.co Bertrand Dunogier
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: