LPS-41781
LPS-41781
LPS-42401 Return empty objects instead of null
LPS-42401 SF
LPS-41267 Remove unnecessary exceptions
LPS-42073 All preferences should be updated except when not importing data and importing a layout/layoutset prototype
LPS-41075
LPS-42302 Apply same fix as in image_gallery
LPS-42359 A parameter with the fileEntryTypeId should be pass in order to render the page with the right params if an error occurs
LPS-41218 Use current templateId
LPS-41218 Show global templates in template selector
LPS-41219 Retrieve structure with local service.

Structure is used here just to obtain the name of the template list. Thus, there isn't any security issue with using local service in this case.
LPS-40903 If the layout is  layout.parentable=false, should not appear the option to add a child page
LPS-42043 site level permissions are never published when using local live staging.
LPS-42043 Revert original fix - not generic enough, in other cases the getGroupRelatedRoles might still be buggy

This reverts commit 750178222abf37574503f3f40f757904f33a5d43.
LPS-42043 Live group should be used to determine what roles we need if there is one
LPS-42337 Fix test
LPS-42337 Changes name from deleteFolder to deletePortletFolder
LPS-42049 Add missing define permissions summary links
LPS-42049 SF