Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 4.0
-
Fix Version/s: EE-4.0.0.GA, 4.1
-
Component/s: ACE-Components
-
Labels:None
-
Environment:Liferay 6.2
-
Assignee Priority:P2
Description
When I attempt to upload a file using ace:fileEntry in Liferay Portal 6.2, the following exception occurs:
String index out of range: -1
class java.lang.StringIndexOutOfBoundsException
No stack trace appears in the logs.
Steps to reproduce:
1. Deploy the attached portlet on Liferay 6.2
2. Click the "Choose File" button.
3. Choose a file to upload.
4. Click the "Add Attachment" button
String index out of range: -1
class java.lang.StringIndexOutOfBoundsException
No stack trace appears in the logs.
Steps to reproduce:
1. Deploy the attached portlet on Liferay 6.2
2. Click the "Choose File" button.
3. Choose a file to upload.
4. Click the "Add Attachment" button
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
This is a regression introduced after fixing
ICE-10381.The fix for this issue URL encodes the view state parameter only when running with Myfaces. This avoids double encoding the URL parameters.