Skip to content
This repository has been archived by the owner on Oct 6, 2024. It is now read-only.

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

Open
njarun opened this issue Jul 14, 2022 · 3 comments
Open
Labels
bug Something isn't working properly

Comments

@njarun
Copy link

njarun commented Jul 14, 2022

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 njarun added the bug Something isn't working properly label Jul 14, 2022
@danth
Copy link
Owner

danth commented Jul 15, 2022

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?

@njarun
Copy link
Author

njarun commented Aug 1, 2022

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.

@danth
Copy link
Owner

danth commented Aug 2, 2022

I don't see any relevant errors there.

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

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

No branches or pull requests

2 participants