matethurzo/liferay-portal — pull request #278 by vilmospapp (2012-10-16 13:40:09+00:00)
Title: [TECHNICAL SUPPORT] LPS-30387 Fixing non unique per layout preferences export/import for instanceable portlets

Hi Máté,

I had difficulties with implementing the single portlet export part, so I reviewed the code and based on my discussion with Dani I refactored it, so the root portlet won't be exported but it's preferences only. On the import side I made the importer to always read the portletId from the xml, and not use only the first one.

This way no modification is required in LayoutExporter, but in PortletExporter and PortletImporter.

I've tested the staging, pages export/import and portelt export/import functionalities.

Regards,
Vilmos