-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: alloy-2.0.0, alloy-3.0.0
-
Fix Version/s: alloy-2.0.0, alloy-3.0.0
-
Component/s: Liferay Faces Alloy / Showcase / Tests
-
Labels:None
{markdown}
Steps to reproduce:
1. Navigate to the [webapp alloy:inputFile example](http://localhost:8181/showcase-webapp-2.0.0-SNAPSHOT/views/component.faces?componentPrefix=alloy&componentName=inputfile&componentUseCase=general).
2. Click the Browse... button.
3. Select a file and click Open.
4. Click the Submit button.
If the bug still exists, the file will not appear in the Model Value section and no errors will appear in the server logs.
*Note:* This issue only exists when using JSF 2.1 in webapp. If you use JSF 2.2, the component works correctly.{markdown}
Steps to reproduce:
1. Navigate to the [webapp alloy:inputFile example](http://localhost:8181/showcase-webapp-2.0.0-SNAPSHOT/views/component.faces?componentPrefix=alloy&componentName=inputfile&componentUseCase=general).
2. Click the Browse... button.
3. Select a file and click Open.
4. Click the Submit button.
If the bug still exists, the file will not appear in the Model Value section and no errors will appear in the server logs.
*Note:* This issue only exists when using JSF 2.1 in webapp. If you use JSF 2.2, the component works correctly.{markdown}
- is duplicated by
-
FACES-2368 Uploading files with alloy:inputFile throws MalformedStreamException with JSF 2.1 webapps
-
- Closed
-