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.