Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
7.0.X, 7.1.X, 7.2.X, Master
-
7.2.x
-
Committed
-
3
Description
Reproducing Steps
Case 1
- Create two structures; call them str01 and str02.
- Add a Journal folder, call it folder01.
- Add a Journal folder, call it folder02, as a subfolder of folder01.
- Edit folder02 and restrict its allowed structures to just str02.
- Add a new web content based on str02, call it str02wc. (I couldn't create it based on str01 anyway.)
- Edit folder01 and restrict its allowed structures to just str01. Save.
Expected: The configuration can be saved, because although there's a content of a different structure (str02wc) in a subfolder, that subfolder has explicitly specified that the structure is allowed.
Observed: The configuration cannot be saved due to the presence of str02wc in folder02. The following visual error message is shown
Error: You cannot apply the selected structure restrictions for this folder. At least one web content references another structure.
Case 2
- Create two structures; call them str01 and str02.
- Add a Journal folder, call it folder01.
- Edit folder01 and restrict its allowed structures to just str01.
- Add a Journal folder, call it folder02, as a subfolder of folder01.
- Edit folder02 and restrict its allowed structures to just str02.
- Add a new web content based on str02, call it str02wc. (I couldn't create it based on str01 anyway.)
Observed: The web content can be saved successfully even though now we have a web content based on str02 in a subfolder of folder01, which only allows str01.
- Edit folder01 to, say, add a description and try to save:
Expected: The configuration can be saved,
Observed: Same error as in Case 1, due to the presence of str02wc in folder02