You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a download does not provide a content length it should still be downloaded using the workaround show here.
Actual behavior
An assertion error will be thrown if the content length is not set and/or provided with the download. This error is throw in the IdeProgressBarTestImpl as it asserts that the total of the progress bar equals its max before closing, as can be seen here.
Steps to reproduce (bug) / Use Case of feature request (enhancement)
Mock a server, which contains/downloads a File without specifing the Content length in the header
Run the InstallCommandlet with the URL from the mocked server.
Affected version:
OS: Windows
OS : probably Linux/Mac aswell
The text was updated successfully, but these errors were encountered:
Consider adding a method to complete the progressbar to our own API that can complete the progressbar (setting actual to max). Or as alternative create a dummy implementation that does not use the real progressbar if no content-length is available. If possible still give feedback to user of progress (x MB / ?).
Expected behavior
If a download does not provide a content length it should still be downloaded using the workaround show here.
Actual behavior
An assertion error will be thrown if the content length is not set and/or provided with the download. This error is throw in the IdeProgressBarTestImpl as it asserts that the total of the progress bar equals its max before closing, as can be seen here.
Steps to reproduce (bug) / Use Case of feature request (enhancement)
Affected version:
The text was updated successfully, but these errors were encountered: