Status: Contributed Solution
Affects Version/s: 6.0.6 GA, 6.1.0 CE RC1, 6.2.0 CE M2
Fix Version/s: None
Environment:Tomcat 7.0. + MySQL 5. 6.1.x Revision: 96306.
Tomcat 7.0. + MySQL 5. 6.2.x Revision: 96306.
Liferay Contributor's Agreement:Accept
Similar Issues:Show 5 results
LPS-12842 Localization not working for Resource Actions LPS-56409 Fail to search event when using Resource Action in Audit Reports. LPS-18176 Error in using Ext plugin (which is created using Plugin SDK 6.0) LPS-15126 Importing of LAR on first start up against an empty database results in errors if you use plugins that define actions LPS-16451 ACCESS_IN_CONTROL_PANEL permission is not added automatically if portlet defines resources-actions descriptor
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 =
This results in the following exception being raised
java.lang.ClassCastException: $Proxy356 cannot be cast to com.liferay.portal.kernel.portlet.ResourceServingConfigurationAction