juliocamarero/liferay-portal — pull request #611 by matethurzo (2012-10-17 14:23:22+00:00)
Title: [TECH SUPPORT] LPS-30253

Hi Julio,

This is a staging related fix. The story here is that previously we had a problem with the asset publisher's portlet preferences: we storing some classnameid and primary keys; and during the and export/import process (staging) the ids will not reflect the new ids in the live system. We have already solved this problem by modifying the PortletExporter/PortletImporter to replace these IDs appropriately.

Now we have the same problem with the categories navigation portlet as well. Zsolt based on my advice followed the same approach like we have for asset publisher and it works properly, I've refactored his code a little.

Although there is more to this story. There can be more portlets suffering from the same problem, and I'd like to explore all those and fix the issue for those as well. That on the other hand would be a bigger set of change and I'd like to test it properly as well. This change I'd like to do as part of the staging rewrite project, and I've already initiated a discussion for the solution for all the portlets with @mhan810.
As soon as I get back from the EU Symposium I'll start to work on discovering what other portlets have the same problem, although this fix is needed for the support to get a backport and then give out as a patch.

Thanks,

Máté

cc-ing @KocsisDaniel