Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.1
    • Fix Version/s: 1.6DR#5, 1.6
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: All

      Description

      Using the HEAD code and component-showcase, build the Facelets variant, using
      the build.facelet.war ant target. Go to the File Upload component. Type in a
      bogus filename that doesn't exist, and click on the Upload button. There will
      briefly appear an error message stating that "This is not a valid file" which
      will then disappear quickly. The regular JSP variant of component-showcase,
      built using the build.war ant target, does not exhibit this behaviour, as the
      error message will remain. This could be a component, application, or Facelets
      specific framework issue. No idea.

        Activity

        Mark Collette created issue -
        Icefaces Administrator made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 1225 12442
        Ken Fyten made changes -
        Priority Major [ 3 ] Minor [ 4 ]
        Ken Fyten made changes -
        Assignee Priority P2
        Ken Fyten made changes -
        Assignee Priority P2 P3
        Ken Fyten made changes -
        Fix Version/s 1.6DR#4 [ 10060 ]
        Fix Version/s 1.6 [ 10031 ]
        Assignee Priority P3 P2
        Assignee Adnan Durrani [ adnan.durrani ] Mark Collette [ mark.collette ]
        Hide
        Mark Collette added a comment -

        Now it prints a different error message: The file name '' does not match with the file name pattern '.+'
        The message now stays. That is, until you visit another tab.

        So, in a way, it's actually more of a problem now, because the error message is the wrong one, even though it sticks around.

        Show
        Mark Collette added a comment - Now it prints a different error message: The file name '' does not match with the file name pattern '.+' The message now stays. That is, until you visit another tab. So, in a way, it's actually more of a problem now, because the error message is the wrong one, even though it sticks around.
        Ken Fyten made changes -
        Assignee Priority P2 P1
        Hide
        Sam Xiao added a comment -

        fix confirmed and a new JIRA issue (ICE-1510) is dedicated to the problem with error message is not informative

        Show
        Sam Xiao added a comment - fix confirmed and a new JIRA issue ( ICE-1510 ) is dedicated to the problem with error message is not informative
        Sam Xiao made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Ken Fyten added a comment -

        Re-opening this issue. As of DR#5 build 3 this problem is back (may be earlier too), even in the JSP Comp. Showcase.

        The following are observed issues:

        1. Trying to upload a blank file doesn't produce the error msg. at all until several attempts are made, and then the error only appears sporadically after numerous attempts.

        2. Entering (or selecting) a valid file path, then changing it by adding extra characters to make it invalid somehow still works when you press upload. Progress is set to 100% and the incorrect file path is displayed (FF 2.0). Seems to only work if you change the path after the drive letter. This is very strange.

        3. Sometimes when an error msg. is displayed, it disappears again shortly afterwards.

        Show
        Ken Fyten added a comment - Re-opening this issue. As of DR#5 build 3 this problem is back (may be earlier too), even in the JSP Comp. Showcase. The following are observed issues: 1. Trying to upload a blank file doesn't produce the error msg. at all until several attempts are made, and then the error only appears sporadically after numerous attempts. 2. Entering (or selecting) a valid file path, then changing it by adding extra characters to make it invalid somehow still works when you press upload. Progress is set to 100% and the incorrect file path is displayed (FF 2.0). Seems to only work if you change the path after the drive letter. This is very strange. 3. Sometimes when an error msg. is displayed, it disappears again shortly afterwards.
        Ken Fyten made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Ken Fyten made changes -
        Fix Version/s 1.6DR#5 [ 10071 ]
        Fix Version/s 1.6DR#4 [ 10060 ]
        Ken Fyten made changes -
        Summary Facelets component-showcase file upload error disappears Component-showcase file upload validation issues
        Priority Minor [ 4 ] Major [ 3 ]
        Hide
        Adnan Durrani added a comment -

        Appropriate handling has been added to the inputFile component. -revision 13956

        Show
        Adnan Durrani added a comment - Appropriate handling has been added to the inputFile component. -revision 13956
        Adnan Durrani made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Summary Component-showcase file upload validation issues inputFile validation issues
        Ken Fyten made changes -
        Fix Version/s 1.6 [ 10031 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Priority P1
        Assignee Mark Collette [ mark.collette ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Mark Collette
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: