Which version of assistant are you using?
4.0.0
Which version of Nextcloud are you using?
35.0.0
Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please.
Chrome 153.0.8010.48 / Edge 153.0.4234.48
Describe the Bug
When using Nextcloud Assistant inside the desktop_workspace app, selecting a file to upload and then cancelling the upload causes the Nextcloud Assistant window itself to close unexpectedly.
Browser log
assistant.js:140 Error: attribute gradientTransform: Expected '(', "rotateX(285)".
patchAttr @ runtime-dom.esm-bundler.js:636
(anonymous) @ runtime-dom.esm-bundler.js:821
(anonymous) @ runtime-core.esm-bundler.js:5729
(anonymous) @ runtime-core.esm-bundler.js:5666
(anonymous) @ runtime-core.esm-bundler.js:5532
(anonymous) @ runtime-core.esm-bundler.js:5795
(anonymous) @ runtime-core.esm-bundler.js:5711
(anonymous) @ runtime-core.esm-bundler.js:5666
(anonymous) @ runtime-core.esm-bundler.js:5532
(anonymous) @ runtime-core.esm-bundler.js:5795
(anonymous) @ runtime-core.esm-bundler.js:5711
(anonymous) @ runtime-core.esm-bundler.js:5666
(anonymous) @ runtime-core.esm-bundler.js:5532
(anonymous) @ runtime-core.esm-bundler.js:5795
(anonymous) @ runtime-core.esm-bundler.js:5711
(anonymous) @ runtime-core.esm-bundler.js:5666
(anonymous) @ runtime-core.esm-bundler.js:5532
(anonymous) @ runtime-core.esm-bundler.js:6198
run @ reactivity.esm-bundler.js:264
(anonymous) @ runtime-core.esm-bundler.js:6326
(anonymous) @ runtime-core.esm-bundler.js:6098
(anonymous) @ runtime-core.esm-bundler.js:6050
(anonymous) @ runtime-core.esm-bundler.js:5544
(anonymous) @ runtime-core.esm-bundler.js:5795
(anonymous) @ runtime-core.esm-bundler.js:5711
(anonymous) @ runtime-core.esm-bundler.js:5666
(anonymous) @ runtime-core.esm-bundler.js:5532
(anonymous) @ runtime-core.esm-bundler.js:5795
(anonymous) @ runtime-core.esm-bundler.js:5711
(anonymous) @ runtime-core.esm-bundler.js:5666
(anonymous) @ runtime-core.esm-bundler.js:5532
(anonymous) @ runtime-core.esm-bundler.js:6278
run @ reactivity.esm-bundler.js:264
runIfDirty @ reactivity.esm-bundler.js:302
callWithErrorHandling @ runtime-core.esm-bundler.js:199
flushJobs @ runtime-core.esm-bundler.js:408
Promise.then
queueFlush @ runtime-core.esm-bundler.js:322
queueJob @ runtime-core.esm-bundler.js:317
(anonymous) @ runtime-core.esm-bundler.js:6320
trigger @ reactivity.esm-bundler.js:292
endBatch @ reactivity.esm-bundler.js:350
trigger @ reactivity.esm-bundler.js:768
set @ reactivity.esm-bundler.js:1094
set @ runtime-core.esm-bundler.js:3478
(anonymous) @ moment-with-locales.js:326
Promise.then
getTaskTypes @ moment-with-locales.js:326
mounted @ moment-with-locales.js:326
(anonymous) @ runtime-core.esm-bundler.js:3135
callWithErrorHandling @ runtime-core.esm-bundler.js:199
callWithAsyncErrorHandling @ runtime-core.esm-bundler.js:206
(anonymous) @ runtime-core.esm-bundler.js:3115
flushPostFlushCbs @ runtime-core.esm-bundler.js:385
(anonymous) @ runtime-core.esm-bundler.js:6893
mount @ runtime-core.esm-bundler.js:4295
(anonymous) @ runtime-dom.esm-bundler.js:1919
(anonymous) @ assistant.js:140
openAssistantForm @ assistant.js:80
await in openAssistantForm
(anonymous) @ assistant.js:924
assistant.js:929 [Assistant header menu entry] Assistant openAssistantForm promise rejected: User cancellation
Expected Behavior
Cancelling a file upload should simply dismiss the file picker or cancel the pending upload, while keeping the Nextcloud Assistant window open and usable.
To Reproduce
-
Open Nextcloud Assistant app.
-
In the chat window, click the button to upload a file and open the file picker.
-
Cancel the upload.
-
Observe that the Nextcloud Assistant window closes on its own.
Which version of assistant are you using?
4.0.0
Which version of Nextcloud are you using?
35.0.0
Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please.
Chrome 153.0.8010.48 / Edge 153.0.4234.48
Describe the Bug
When using Nextcloud Assistant inside the desktop_workspace app, selecting a file to upload and then cancelling the upload causes the Nextcloud Assistant window itself to close unexpectedly.
Browser log
assistant.js:140 Error: attribute gradientTransform: Expected '(', "rotateX(285)".
patchAttr @ runtime-dom.esm-bundler.js:636
(anonymous) @ runtime-dom.esm-bundler.js:821
(anonymous) @ runtime-core.esm-bundler.js:5729
(anonymous) @ runtime-core.esm-bundler.js:5666
(anonymous) @ runtime-core.esm-bundler.js:5532
(anonymous) @ runtime-core.esm-bundler.js:5795
(anonymous) @ runtime-core.esm-bundler.js:5711
(anonymous) @ runtime-core.esm-bundler.js:5666
(anonymous) @ runtime-core.esm-bundler.js:5532
(anonymous) @ runtime-core.esm-bundler.js:5795
(anonymous) @ runtime-core.esm-bundler.js:5711
(anonymous) @ runtime-core.esm-bundler.js:5666
(anonymous) @ runtime-core.esm-bundler.js:5532
(anonymous) @ runtime-core.esm-bundler.js:5795
(anonymous) @ runtime-core.esm-bundler.js:5711
(anonymous) @ runtime-core.esm-bundler.js:5666
(anonymous) @ runtime-core.esm-bundler.js:5532
(anonymous) @ runtime-core.esm-bundler.js:6198
run @ reactivity.esm-bundler.js:264
(anonymous) @ runtime-core.esm-bundler.js:6326
(anonymous) @ runtime-core.esm-bundler.js:6098
(anonymous) @ runtime-core.esm-bundler.js:6050
(anonymous) @ runtime-core.esm-bundler.js:5544
(anonymous) @ runtime-core.esm-bundler.js:5795
(anonymous) @ runtime-core.esm-bundler.js:5711
(anonymous) @ runtime-core.esm-bundler.js:5666
(anonymous) @ runtime-core.esm-bundler.js:5532
(anonymous) @ runtime-core.esm-bundler.js:5795
(anonymous) @ runtime-core.esm-bundler.js:5711
(anonymous) @ runtime-core.esm-bundler.js:5666
(anonymous) @ runtime-core.esm-bundler.js:5532
(anonymous) @ runtime-core.esm-bundler.js:6278
run @ reactivity.esm-bundler.js:264
runIfDirty @ reactivity.esm-bundler.js:302
callWithErrorHandling @ runtime-core.esm-bundler.js:199
flushJobs @ runtime-core.esm-bundler.js:408
Promise.then
queueFlush @ runtime-core.esm-bundler.js:322
queueJob @ runtime-core.esm-bundler.js:317
(anonymous) @ runtime-core.esm-bundler.js:6320
trigger @ reactivity.esm-bundler.js:292
endBatch @ reactivity.esm-bundler.js:350
trigger @ reactivity.esm-bundler.js:768
set @ reactivity.esm-bundler.js:1094
set @ runtime-core.esm-bundler.js:3478
(anonymous) @ moment-with-locales.js:326
Promise.then
getTaskTypes @ moment-with-locales.js:326
mounted @ moment-with-locales.js:326
(anonymous) @ runtime-core.esm-bundler.js:3135
callWithErrorHandling @ runtime-core.esm-bundler.js:199
callWithAsyncErrorHandling @ runtime-core.esm-bundler.js:206
(anonymous) @ runtime-core.esm-bundler.js:3115
flushPostFlushCbs @ runtime-core.esm-bundler.js:385
(anonymous) @ runtime-core.esm-bundler.js:6893
mount @ runtime-core.esm-bundler.js:4295
(anonymous) @ runtime-dom.esm-bundler.js:1919
(anonymous) @ assistant.js:140
openAssistantForm @ assistant.js:80
await in openAssistantForm
(anonymous) @ assistant.js:924
assistant.js:929 [Assistant header menu entry] Assistant openAssistantForm promise rejected: User cancellation
Expected Behavior
Cancelling a file upload should simply dismiss the file picker or cancel the pending upload, while keeping the Nextcloud Assistant window open and usable.
To Reproduce
Open Nextcloud Assistant app.
In the chat window, click the button to upload a file and open the file picker.
Cancel the upload.
Observe that the Nextcloud Assistant window closes on its own.