transfer icon indicating copy to clipboard operation
transfer copied to clipboard

Transfer file from URL is missing for shared folders (Write Allowed)

Open njarun opened this issue 3 years ago • 3 comments

Current behaviour

For all folders when the user is logged in the below is the create context dropdown

image

But for a public shared folder which has upload/write enabled, the transfer via url option is missing.

public_share_snip

Expected behaviour

Transfer file via url option is expected to be available in the shared folders for which write access is provided.

System information

Nextcloud 24.0.2 PHP 7.4 Ubuntu 20.04 LTS

Log output

N.A

njarun avatar Jul 14 '22 13:07 njarun

The menu entry for this plugin is added to the page in a less reliable way, due to a limitation of the core Nextcloud code.

Please could you check the browser console for any error messages on the page where the option is missing?

danth avatar Jul 15 '22 18:07 danth

Hello Danth,

Below are the only errors I found on the shared folder loading.

Refused to apply style from 'https://nextcloudinstance.com/apps/theming/styles?v=18' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.

jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own.

globals.js:62 Handlebars is deprecated: please ship your own, this will be removed in Nextcloud 20

oc_appswebroots is deprecated: use OC.appswebroots instead, this will be removed in Nextcloud 20
[nextcloud_instance-1659365487451.log](https://github.com/danth/transfer/files/9234872/nextcloud_instance-1659365487451.log)

7[Violation] 'setInterval' handler took <N>ms

Attaching full log file for reference!

nextcloud_instance-1659365487451.log

Thank you.

njarun avatar Aug 01 '22 14:08 njarun

I don't see any relevant errors there.

Perhaps the transfer app is not being loaded at all for public shares.

danth avatar Aug 02 '22 19:08 danth