ICEfaces
  1. ICEfaces
  2. ICE-10393

ace:fileEntry failing in Liferay 6.2 and icefaces 4.0

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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

        Activity

        Hide
        Mircea Toma added a comment -

        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.

        Show
        Mircea Toma added a comment - 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.

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Kyle Stiemann
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: