UFAL/Successfully downloaded collection file when the file is downloading#1231
Conversation
|
@milanmajchrak should I add it to test scenario? |
There was a problem hiding this comment.
Pull request overview
This PR fixes a 404 error that authenticated users experienced when downloading a bitstream. The root cause was that the BitstreamPageResolver was allowing findById to reuse a cached response (potentially a 404 obtained during SSR when the user was not yet authenticated), instead of re-fetching with the authenticated user's credentials on the client side.
Changes:
useCachedVersionIfAvailableflipped fromtrue→falseso the resolver always fires a fresh request.reRequestOnStalesimultaneously corrected fromfalse→trueto restore the expected default stale-re-request behaviour.
|
@milanmajchrak please can you also test it during the review? |
On dev machine |
|
@Paurikova2 have you checked this is also and error in the Vanilla? |
|
@milanmajchrak |
|
@Paurikova2 I'm going to merge it. Please test it on our dev machine. |
Problem description
When you are authorized, there is error 404: Not Found.

Now:

Copilot review