Skip to content

Fix import from server selection not updating with new values when new file has been added on the server#735

Open
correct-horse-battery-bench wants to merge 2 commits into
masterfrom
2271-bug-file-import-via-server-doesnt-work-anymore
Open

Fix import from server selection not updating with new values when new file has been added on the server#735
correct-horse-battery-bench wants to merge 2 commits into
masterfrom
2271-bug-file-import-via-server-doesnt-work-anymore

Conversation

@correct-horse-battery-bench

@correct-horse-battery-bench correct-horse-battery-bench commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

During hashlist creation with import from server, the list of files to select only updates with new files that might have been added to the server only when the user logs out.

The issue is that certain requests are cached and 'firstValueFrom' only returns the cached value.
Use lastValueFrom in this case. Also later investigate if we can circumvent this problem in general instead of this targeted fix.

image

Issue: hashtopolis/server#2271

…validate and firstValueFrom in this case returns the cached value instead
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG]: file import via server doesnt work anymore

1 participant