Error when deleting files?

Hey there, i am having an issue when i try to delete a file ( any file )
regardless of using the rightclick menu or the “action” button.

I get this in the js console:

merged-index.js?v=67394e9d-29:4977 Uncaught TypeError: _.pluck is not a function
    at FileList._onClickDeleteSelected (merged-index.js?v=67394e9d-29:4977)
    at FileList.multiSelectMenuClick (merged-index.js?v=67394e9d-29:4411)
    at i._onClickAction (merged-index.js?v=67394e9d-29:7826)
    at HTMLDivElement.dispatch (jquery.js:4531)
    at HTMLDivElement.v.handle (jquery.js:4365)

This happend after i installed the antivirus plugin or the ransomware plugin from the app store.
But did not went away after uninstalling/disabling it ( them )
Help would be greatly appreciated :wink:

Thanks Mike

P.S. Nextcloud version 19.04 and 20.0.1 even after update.

Edit!

Hi!
I have the same error when i’m trying to delete/restore files via multiple selection actions.
Also i found that if i’m trying to delete/restore files via per-file actions i’m having this error:

Uncaught (in promise) TypeError: _.findWhere is not a function
at s.remove (merged-index.js?v=e1fdad8b-81:6207)
at s._removeCallback (filelist.js:150)
at Object. (jquery.js:3256)
at c (jquery.js:3099)
at Object.fireWith [as resolveWith] (jquery.js:3211)
at Object.Deferred.m.each.r. [as resolve] (jquery.js:3301)
at client.js?v=e1fdad8b-81:796

Idk when this problem started, thank you!
NC 19.0.4

Ok, i started to disable applications one by one and found that Music app was causing this issue.
I enabled all apps back except Music and problem is gone.

NC - 19.0.4
Music - 0.17.2

If you need additional debug please tell me, i will help with pleasure :slight_smile:

Regards!

2 Likes

Yes that did work for me as well, i removed the music app and it works again.

@FourtyTwo Would you be so kind and create an issue ticket in the Music app repository to address this problem. Please reference to the created ticket afterwards.

Sorry but i don’t have any account on github. Maybe Mike will help with this?

I just did that.

1 Like

Super, please don’t forget to post the link to the issue ticket here :wink:

Seems to be a problem:

1 Like

After updating Music from version 0.17.2 to 0.17.3 the problem can no longer be reproduced.

For me what wasn’t working was Copy/Move action, I didn’t try Delete action, but the error message in browser console was the same.