Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.5.1
-
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.
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.
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.