Willem Verstraeten
bb9473e77c
Make cancellation of uploads work regardless of Push configuration (#11743)
- Checking the push configuration outside of session lock threw an AssertionError, so the push configuration is not checked anymore. - The original problem with cancelling Upload was due to a subtle ordering issue that depended on the Push configuration. In the case of PushMode.AUTOMATIC, a new StreamVariable was added by the `Upload` component _before_ the `FileUploadHandler` got a chance to remove the old `StreamVariable`. As a result, the `FileUploadHandler` actually removed the fresh `StreamVariable`, breaking future uploads. Fixes #11682 |
4 år sedan | |
---|---|---|
.. | ||
DragAndDropCardShuffle.java | Remove copyright headers from test code (#10770) | 6 år sedan |
DragAndDropPayload.java | Enable maven formatting for uitest (#10908) | 6 år sedan |
DragImage.java | Remove unneeded .toString() (#10141) | 6 år sedan |
DragSourcesInTabSheet.java | Fix NPE when detaching DragSource & DropTarget on client side (#9341) | 7 år sedan |
DraggableButton.java | Remove copyright headers from test code (#10770) | 6 år sedan |
Html5FileDragAndDropUpload.java | Make cancellation of uploads work regardless of Push configuration (#11743) | 4 år sedan |
Html5FileDragAndDropUploadWithManualPush.java | Make cancellation of uploads work regardless of Push configuration (#11743) | 4 år sedan |
Html5FileDragAndDropUploadWithPush.java | Make cancellation of uploads work regardless of Push configuration (#11743) | 4 år sedan |