Skip to content

Commit 40db2a4

Browse files
authored
Merge pull request #58999 from nextcloud/backport/58611/stable33
[stable33] fix(files): correctly handle nodes with snowflake ids
2 parents a083c0d + ec3de81 commit 40db2a4

10 files changed

Lines changed: 261 additions & 202 deletions

File tree

apps/files/src/store/files.ts

Lines changed: 243 additions & 187 deletions
Large diffs are not rendered by default.

cypress/e2e/files_external/files-external-failed.cy.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,12 @@ import { AuthBackend, createStorageWithConfig, StorageBackend } from './StorageU
1111
describe('Files user credentials', { testIsolation: true }, () => {
1212
let currentUser: User
1313

14-
beforeEach(() => {
15-
})
16-
1714
before(() => {
1815
cy.runOccCommand('app:enable files_external')
1916
cy.createRandomUser().then((user) => {
2017
currentUser = user
2118
})
19+
cy.runCommand('php ./cron.php')
2220
})
2321

2422
afterEach(() => {
@@ -42,6 +40,11 @@ describe('Files user credentials', { testIsolation: true }, () => {
4240
cy.login(currentUser)
4341
cy.visit('/apps/files')
4442

43+
// TODO: Why does the first PROPFIND does not return it?
44+
getRowForFile('Storage1')
45+
.if('not.exist')
46+
.reload()
47+
4548
// Ensure the row is visible and marked as unavailable
4649
getRowForFile('Storage1').as('row').should('be.visible')
4750
cy.get('@row').find('[data-cy-files-list-row-name-link]')

dist/files-init.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/files-init.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/files-main.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/files-main.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/files-sidebar.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/files-sidebar.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/files_sharing-init-public.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/files_sharing-init-public.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)