Details
-
Bug
-
Resolution: Won't Do
-
Neutral
-
None
-
5.5.5
-
None
-
None
Description
Imagine that there is an area with a model class that, under certain conditions hides the area by returning RenderingModel.SKIP_RENDERING on execute().
If area type=list and maxComponents=4, you can add components until reach the maximun number of components:
footer:
type: list
maxComponents: 4
If area type=single, you can add components even if there is already a component:
footer:
type: single
Result in pages app: you cannot add component in-area green bars but you can add components using the Add component action in the action bar:
When this happens, the action remains available to add additional components even when the area is configured as type: single and the limit of 1 has been reached.
The in-area edit action however continues to display "New 'area name' component" but the + icon does not appear and clicking the new component placeholder has no effect.
We do not believe this is the correct behaviour. Other single areas disable the Add Component action when their limit is reached and stop displaying the "New 'area name' component" placeholder.