-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FileUpload Component did not display files stored in the current session #359
Comments
after all it seems not to be a to critical issue.
Maybe the compoent is not able to show the files after a JSF lifecycle... |
How this problem occursThe FileUploadController has a method 'getUploades'. The imixsFileUpload.xhtml widget needs an additional table which is displaying the files from the 'FileUploadController.getUploades()' method. This table an also show delete buttons This is an example for such a table in the imixsFileUpload.xhtml:
Is it solvable?There are two different use cases
Both cases result in different behavior. In case 1 the file is in the session context and an be displayed with the example above. In case 2 the file is already part of the workitem and is normally displayed. But in Imixs-Office-Workflow we have a different UI and do not display this kind of files which are not yet saved. It would be solvable. But also we still have here the bug with multiple browser tabs which do share the same session - so parallel uploads always result in wrong behavior. The solution is therefore more extensive and need to be solved with a new component at all. |
The FileUploadController stores files in different context (see below). As a result is seems that in case of a validation error the uploaded file is missing. THis is not the case! The file is only not displayed.
The text was updated successfully, but these errors were encountered: