Anyone else with 4.1.x able to test delete/copy/move in the files app?

We’re running 4.1.4 and 4.1.1 and are seeing an issue where we can’t delete or move/copy files in the files app. The browser console says

utils.js:56 Uncaught TypeError: Cannot read properties of null (reading 'classList')
at Qd (utils.js:56:58)
at HTMLTableElement.<anonymous> (sweet_alert.js:83:5)
at i.showSwalLoading (file_ops.js:639:18)

I wanted to see if this is just us or if someone else is also seeing this.

Steps to reproduce:

  1. Create test.txt
  2. select test.txt
  3. Click the delete button
  4. Click okay on the popup.

I cannot replicate on our systems. I’d maybe try to clear your cache and/or check any extensions you may have running.

Can confirm it also fails in an incognito window or a completely new browser, as well as multiple browsers. We’ll keep looking.

Thanks Jeff and Ben. Unfortunately it’s happening for everyone who’s used our installation. Multiple users, different computers, different browsers, 4.1.4 and 4.1.1. We’ll keep digging into it.

What are the checksum numbers of the files you download while in the files application? I would guess that they’re probably different for each OS, but if you let me know your OS version I can maybe try to replicate. Maybe the packages for that OS got built slightly different than the others? (We’re running RHEL 8).

We’re running RHEL 9.7. I tried to duplicate your screenshot here.

If I modify the following and just comment out lines 57 it works.

OK follow up - have you defined any special views in /etc/ood/config/apps/dashboard/views as described in this documentation page?

1 Like

Yup, I sure did. It was application.html.erb since I had added our analytics. That fixed it! Thanks Jeff!

:laughing: that’ll do it. Hope you didn’t have too much trouble and/or recompiled the assets on your production system. If you did recompile on your production system that may cause further issues. I’d say a reinstall may be warranted. I can’t say for sure it’ll cause issues down the road, I’d just be worried about it.

I recompiled assets on dev only to test. They were small tweaks though. If dev breaks we can reinstall.