juliocamarero/liferay-portal — pull request #2595 by KocsisDaniel (2013-11-26 13:36:03+00:00)
Title: LPS-42442

Hey Julio,

this is a relatively easy fix, the problem is when you select a given site variation - layout revision its parameters pushed to the portlet data context map and during the layout export it is used to determine and set the proper layout proxy object for the further operations. It worked well, but during the staging re-factor we moved that logic into the LSMDH which handles only the clone of the original layout parameter, so the revision is set on the wrong object and get lost immediately after this method ends. So I moved the setter logic before the SMDH framework entry point, so we set all the options in the right object now.

p.s: I tested the solution, but I'd like to wait for the results of the Jenkins test to make sure It doesn't cause any regressions.

thanks,
Daniel