Details
-
Improvement
-
Resolution: Done
-
High
-
2.5.0-beta2
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