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

        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Ken Fyten made changes -
        Fix Version/s 4.1 [ 11375 ]
        Mircea Toma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        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.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #43553 Wed Nov 19 10:31:52 MST 2014 mircea.toma ICE-10393 URL encode view state parameter only when running with Myfaces. This avoids double encoding the URL parameters.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntryFormSubmit.java
        Ken Fyten made changes -
        Assignee Ken Fyten [ ken.fyten ] Mircea Toma [ mircea.toma ]
        Fix Version/s EE-4.0.0.GA [ 11171 ]
        Fix Version/s 4.1 [ 11375 ]
        Assignee Priority P2 [ 10011 ]
        Deryk Sinotte made changes -
        Fix Version/s 4.1 [ 11375 ]
        Deryk Sinotte made changes -
        Assignee Ken Fyten [ ken.fyten ]
        Kyle Stiemann made changes -
        Field Original Value New Value
        Attachment icefaces4-portlet.tar.gz [ 17583 ]
        Kyle Stiemann created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved: