epgarcia/liferay-portal — pull request #33 by KocsisDaniel (2013-01-02 12:58:05+00:00)
Title: [TECH SUPPORT] LPS-31825

Hi Eduardo,

this pull is to fix portletpreferences upgrade issue with camel casing. Currently the iframe portlet is missing from the list so it doesn't updated. Technically we have 2 classes for this situation with really similar names:
- UpgradeCamelCasePortletPreferences - upgrades only a few preferences listed in a map
- CamelCaseUpgradePortletPreferences - upgrades all preferences but the affected portlets list is limited

The first is called from the upgrade process directly, but the second is extended by UpgradePortletPreferences and then called from the upgrade process. The UpgradePortletPreferences contains the list limits the portlets where the camel casing is applied. So in our opinion the proper fix is to extend the list contains the portlets should be upgraded.

thanks,
Daniel