Skip to content

Conversation

@backportbot
Copy link

@backportbot backportbot bot commented Oct 22, 2025

Backport of PR #8921

@backportbot backportbot bot added this to the 4.0.1 milestone Oct 22, 2025
@nilsding nilsding enabled auto-merge October 22, 2025 15:41
The `ignoreFirst` bool had a short lifetime, by the time the lambda slot
handling the `LsColJob::directoryListingIterated` signal was called the
reference to that bool would report a completely different value.  This
could result in the first entry of a directory listing to not be ignored
properly.

This commit changes the way the slot checks whether it's currently
iterating over the very same directory that was just requested by
comparing the request path with the path from the response.

Fixes #8915

Signed-off-by: Jyrki Gadinger <nilsding@nilsding.org>
@github-actions
Copy link

Artifact containing the AppImage: nextcloud-appimage-pr-8926.zip

Digest: sha256:d1618964940904a980c77b8fb733cd5e0097bbf2b109001556529efea3ffc91e

To test this change/fix you can download the above artifact file, unzip it, and run it.

Please make sure to quit your existing Nextcloud app and backup your data.

@nilsding nilsding merged commit b3cc449 into stable-4.0 Oct 22, 2025
16 of 17 checks passed
@nilsding nilsding deleted the backport/8921/stable-4.0 branch October 22, 2025 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants