-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
Description
What is the issue and how can we reproduce it?
When using the FileUploader with uploadOnChange='true' will immediately start the upload. In the event 'uploadStart' you usually set some parameters like CSRFToken and other headers. Wanting to follow best practices, I used the asynchronous 'securityTokenAvailable' method which resolves a Promise when the CSRF Token is received.
If you synchronously get the CSRF Token, there is no issue. If you use the asynchronous method, a request will be launched before you receive the CSRF Token.
I don't think I can get you a reproducible project, since it requires access to a service that allows file uploads. Any ideas are welcome.
SAPUI5 1.120.38
Which OpenUI5 version is your project targeting?
1.120.38
Is the issue device- or browser-specific?
no
Confirmation
- I have searched the existing issues and reviewed the relevant documentation as well as the API reference.
- I am not disclosing any internal or sensitive information.