Details
-
Type:
Bug
-
Status:
Contributed Solution
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 6.0.6 GA, 6.1.0 CE RC1, 6.2.0 CE M2
-
Fix Version/s: None
-
Component/s: Frameworks, Frameworks > Portlet Configuration
-
Labels:None
-
Environment:Tomcat 7.0. + MySQL 5. 6.1.x Revision: 96306.
Tomcat 7.0. + MySQL 5. 6.2.x Revision: 96306.
-
Fix Priority:3
-
Liferay Contributor's Agreement:Accept
-
Similar Issues:
Description
Steps to reproduce :
1. Deploy the attached minimal test case
2. Drag the minimal testcase portlet from the sample category to your page
3. Open the configuration window for this portlet by clicking the wrench in the right hand corner and selecting configuration
4. click the link called "click me"
Notice that nothing happens where it should output the text "This got written to the response"
The reason for this problem is that in EditConfigurationAction.java the following line gets called
ResourceServingConfigurationAction resourceServingConfigurationAction =
(ResourceServingConfigurationAction)getConfigurationAction(
portlet);
This results in the following exception being raised
java.lang.ClassCastException: $Proxy356 cannot be cast to com.liferay.portal.kernel.portlet.ResourceServingConfigurationAction

Attached possible fix