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

[Hide/Reveal] User should be able to set Location visibility as he desire, regardless of Content hide/reveal state

    XMLWordPrintable

Details

    Description

      Changed to Improvement

      The idea was to not change any logic of content/location manipulation just because content is hidden. As we do not have to track original states anymore (Content hide does not change if Location is hidden or not), it doesn't make sense to create Locations explicitly hidden; they won't be visible anyway because of hidden content. It would make them "even more hidden" and you would have to go through every location, one by one, to make them visible when you reveal content. Creating locations hidden is no longer needed, as we don't hide content by hiding locations (what was the original idea).

      Visibility checkbox should be unlocked in Admin UI, so you'll be able to manipulate Location state as you want without revealing the content. If you would like to create hidden location, just add new Location and switch Visibility to hidden and it will remain hidden when you reveal content.

      Original ticket (Bug) description.

      Steps to reproduce:
      1. Hide a content item
      2. Add a new location for the content item. By default, any new location will be set to hidden
      3. Reveal the content item

      Error:
      The new location is visible when the content item is revealed

      Expected:
      The main location will be visible but the new location should be hidden i.e. maintain the original state of each location

      Attachments

        Activity

          People

            Unassigned Unassigned
            supriya.bhargava-obsolete@ibexa.co Supriya Bhargava (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: