diff options
author | Tatu Lund <tatu@vaadin.com> | 2019-06-25 15:03:09 +0300 |
---|---|---|
committer | Zhe Sun <31067185+ZheSun88@users.noreply.github.com> | 2019-06-25 15:03:09 +0300 |
commit | 3652c3a8f1ed7fc8f6e27fb2242027732fa41404 (patch) | |
tree | 5806889243c9385e542f81a4766ddcb1b0e250b9 /shared/pom.xml | |
parent | 973731763c2aa7138584646c06385c4e8340a7ac (diff) | |
download | vaadin-framework-3652c3a8f1ed7fc8f6e27fb2242027732fa41404.tar.gz vaadin-framework-3652c3a8f1ed7fc8f6e27fb2242027732fa41404.zip |
Fixing upload handler error handling (#11630)
* Fixing upload handler error handling
For some reason stream variable cleanup did not use UI.getCurrent(), despite current UI was set earlier in handleRequest, what I see specifically for this purpose. So I chanted this. This will address also issue #7289
Furthermore there was TODO in handle request about error handling. I interpreted this to refer to possible corner case, that UI is not found via session. In this case it is more appropriate throw UploadException and abort, than lat NPE happen.
* Fixing exception type
Diffstat (limited to 'shared/pom.xml')
0 files changed, 0 insertions, 0 deletions