Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File picker dialogue opens but does not load content #1331

Closed
GVodyanov opened this issue May 15, 2024 · 1 comment
Closed

File picker dialogue opens but does not load content #1331

GVodyanov opened this issue May 15, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@GVodyanov
Copy link

Seen in Calendar and Mail

Console trace:

AttachmentsList.vue:67 [Vue warn]: onMounted is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup().

found in

---> <DialogBase>
       <FilePicker>
         <Root>
warn @ vue.runtime.esm.js:4625
(anonymous) @ vue.runtime.esm.js:3301
useMounted @ index.mjs:502
useSupported @ index.mjs:510
useResizeObserver @ index.mjs:2522
useElementSize @ index.mjs:2680
setup @ DialogBase-aNq6aLpb.mjs:80
invokeWithErrorHandling @ vue.runtime.esm.js:3033
initSetup @ vue.runtime.esm.js:2457
initState @ vue.runtime.esm.js:5385
Vue._init @ vue.runtime.esm.js:5714
VueComponent @ vue.runtime.esm.js:5849
createComponentInstanceForVnode @ vue.runtime.esm.js:4564
init @ vue.runtime.esm.js:4426
createComponent @ vue.runtime.esm.js:6591
createElm @ vue.runtime.esm.js:6545
patch @ vue.runtime.esm.js:7095
Vue._update @ vue.runtime.esm.js:3781
updateComponent @ vue.runtime.esm.js:3891
Watcher.get @ vue.runtime.esm.js:3462
Watcher @ vue.runtime.esm.js:3452
mountComponent @ vue.runtime.esm.js:3908
Vue.$mount @ vue.runtime.esm.js:8797
init @ vue.runtime.esm.js:4427
createComponent @ vue.runtime.esm.js:6591
createElm @ vue.runtime.esm.js:6545
patch @ vue.runtime.esm.js:7133
Vue._update @ vue.runtime.esm.js:3781
updateComponent @ vue.runtime.esm.js:3891
Watcher.get @ vue.runtime.esm.js:3462
Watcher @ vue.runtime.esm.js:3452
mountComponent @ vue.runtime.esm.js:3908
Vue.$mount @ vue.runtime.esm.js:8797
Vue._init @ vue.runtime.esm.js:5724
Vue @ vue.runtime.esm.js:5785
M @ legacy.mjs:33
z @ legacy.mjs:100
(anonymous) @ index-X06k2874.mjs:17
pick @ index-X06k2874.mjs:10
await in pick (async)
openFilesModal @ AttachmentsList.vue:67
click @ AttachmentsList.vue:47
invokeWithErrorHandling @ vue.runtime.esm.js:3033
invoker @ vue.runtime.esm.js:1832
invokeWithErrorHandling @ vue.runtime.esm.js:3033
Vue.$emit @ vue.runtime.esm.js:3732
onClick @ actionText-bMy_49i8.mjs:118
handleClick @ NcActionButton.mjs:113
invokeWithErrorHandling @ vue.runtime.esm.js:3033
invoker @ vue.runtime.esm.js:1832
original_1._wrapper @ vue.runtime.esm.js:7500
Show 48 more frames
Show less
AttachmentsList.vue:67 [Vue warn]: Error in mounted hook (Promise/async): "TypeError: Cannot read properties of undefined (reading 'authType')"

found in

---> <FilePicker>
       <Root>
warn @ vue.runtime.esm.js:4625
logError @ vue.runtime.esm.js:3061
globalHandleError @ vue.runtime.esm.js:3057
handleError @ vue.runtime.esm.js:3024
(anonymous) @ vue.runtime.esm.js:3035
Promise.catch (async)
invokeWithErrorHandling @ vue.runtime.esm.js:3035
callHook$1 @ vue.runtime.esm.js:4048
insert @ vue.runtime.esm.js:4443
invokeInsertHook @ vue.runtime.esm.js:6966
patch @ vue.runtime.esm.js:7180
Vue._update @ vue.runtime.esm.js:3781
updateComponent @ vue.runtime.esm.js:3891
Watcher.get @ vue.runtime.esm.js:3462
Watcher @ vue.runtime.esm.js:3452
mountComponent @ vue.runtime.esm.js:3908
Vue.$mount @ vue.runtime.esm.js:8797
Vue._init @ vue.runtime.esm.js:5724
Vue @ vue.runtime.esm.js:5785
M @ legacy.mjs:33
z @ legacy.mjs:100
(anonymous) @ index-X06k2874.mjs:17
pick @ index-X06k2874.mjs:10
await in pick (async)
openFilesModal @ AttachmentsList.vue:67
click @ AttachmentsList.vue:47
invokeWithErrorHandling @ vue.runtime.esm.js:3033
invoker @ vue.runtime.esm.js:1832
invokeWithErrorHandling @ vue.runtime.esm.js:3033
Vue.$emit @ vue.runtime.esm.js:3732
onClick @ actionText-bMy_49i8.mjs:118
handleClick @ NcActionButton.mjs:113
invokeWithErrorHandling @ vue.runtime.esm.js:3033
invoker @ vue.runtime.esm.js:1832
original_1._wrapper @ vue.runtime.esm.js:7500
Show 31 more frames
Show less
AttachmentsList.vue:67 TypeError: Cannot read properties of undefined (reading 'authType')
    at request (request.js:71:1)
    at index.mjs:405:1
    at index.js:2:1
    at _.execute (index.js:2:1)
    at _.patchInline (index.js:2:1)
    at Q (index.js:2:1)
    at index.js:2:1
    at index.js:2:1
    at index.js:2:1
    at n (index.js:2:1)
@susnux
Copy link
Contributor

susnux commented May 27, 2024

This is not caused by the dialogs library but by the files library (patched webdav client in davGetClient).
But this is already resolved since @nextcloud/files 3.0.0 so calendar seems to use an outdated version of it.

Was fixed in this PR: nextcloud-libraries/nextcloud-files#821

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants