mirror of
https://github.com/nextcloud/server.git
synced 2026-06-18 05:00:03 -04:00
When using richdocuments it was failing in case of shared links
or when user with opened file did a wheel click on a refresh page.
Then new tab appeared but instead opening the file it was doing
nothing (showing the list of files) or downloading the file.
Make code more defensive. I found these logs while debugging:
OCA.Files.Settings initialized
Sidebar.js:19 OCA.Files.Sidebar initialized
ShareSearch.js:16 OCA.Sharing.ShareSearch initialized
comments-app.js:15 OCA.Comments.View initialized
index.mjs:54 files: Error while opening sidebar Object
log @ index.mjs:54
index.mjs:54 files: Error while opening sidebar Objectapp: "files"
TypeError: window.OCA.Files.Sidebar.open is not a function
at h.exec (http://nc/dist/files-main.js?v=106d16db-0:1:70123)
at o.openSidebarForFile (http://nc/dist/files-main.js?v=106d16db-0:1:163422)
at o.handleOpenQueries (http://nc/dist/files-main.js?v=106d16db-0:1:163167)
at o.openDetails (http://nc/dist/files-main.js?v=106d16db-0:1:162349)
at fn (http://nc/dist/core-common.js?v=106d16db-0:1:3942538)
at e.run (http://nc/dist/core-common.js?v=106d16db-0:1:3946900)
at sa (http://nc/dist/core-common.js?v=106d16db-0:1:3948728)
at Array.<anonymous> (http://nc/dist/core-common.js?v=106d16db-0:1:3943585)
at bn (http://nc/dist/core-common.js?v=106d16db-0:1:3942986)level: 2uid: "admin"
[[Prototype]]: Object
log @ index.mjs:54
Possibly regression from
|
||
|---|---|---|
| .. | ||
| convertAction.ts | ||
| convertUtils.ts | ||
| deleteAction.spec.ts | ||
| deleteAction.ts | ||
| deleteUtils.ts | ||
| downloadAction.spec.ts | ||
| downloadAction.ts | ||
| editLocallyAction.spec.ts | ||
| editLocallyAction.ts | ||
| favoriteAction.spec.ts | ||
| favoriteAction.ts | ||
| moveOrCopyAction.ts | ||
| moveOrCopyActionUtils.ts | ||
| openFolderAction.spec.ts | ||
| openFolderAction.ts | ||
| openInFilesAction.spec.ts | ||
| openInFilesAction.ts | ||
| renameAction.spec.ts | ||
| renameAction.ts | ||
| sidebarAction.spec.ts | ||
| sidebarAction.ts | ||
| viewInFolderAction.spec.ts | ||
| viewInFolderAction.ts | ||