Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sharing: Problem creating public links (Uncaught TypeError: this.$el.find(...).select2 is not a function) #31850

Closed
woeterman94 opened this issue Jun 21, 2018 · 3 comments

Comments

@woeterman94
Copy link

woeterman94 commented Jun 21, 2018

Steps to reproduce

  1. Click on the share icon of a folder or file
  2. Head to public links and click create public link
  3. A dialog shows up but nothing happens. In the dev console of Google Chrome I get the error message:
Uncaught TypeError: this.$el.find(...).select2 is not a function
    at child._afterRender (sharedialogmailview.js?v=9fcfb4dc628a64773dff191ce16cda01:197)
    at child.<anonymous> (sharedialogmailview.js?v=9fcfb4dc628a64773dff191ce16cda01:62)
    at executeBound (underscore.js?v=9fcfb4dc628a64773dff191ce16cda01:701)
    at child.bound [as render] (underscore.js?v=9fcfb4dc628a64773dff191ce16cda01:733)
    at child.render (sharedialoglinkshareview.js?v=9fcfb4dc628a64773dff191ce16cda01:270)
    at Object.adjustDialog (sharedialoglinkshareview.js?v=9fcfb4dc628a64773dff191ce16cda01:367)
    at Object.<anonymous> (jquery.min.js?v=9fcfb4dc628a64773dff191ce16cda01:sourcemap:2)
    at j (jquery.min.js?v=9fcfb4dc628a64773dff191ce16cda01:sourcemap:2)
    at Object.fireWith [as resolveWith] (jquery.min.js?v=9fcfb4dc628a64773dff191ce16cda01:sourcemap:2)
    at Object.<anonymous> (jquery.min.js?v=9fcfb4dc628a64773dff191ce16cda01:sourcemap:2)

image
(When I click 'share' the error reappears)

Expected behaviour

There should be a way to create a public link / url and to set the expiry date, password etc...

Actual behaviour

Nothing. Unable to create a shareable link

image

Server configuration

Hosting owncloud in shared hosting

**PHP version:ea-php72

**ownCloud version:*ownCloud 10.0.8 (stable) *

**Updated from an older ownCloud or fresh install:updated

**Where did you install ownCloud from:used the updater in the web interface

Login as admin user into your ownCloud and access 
http://example.com/index.php/settings/integrity/failed 
paste the results into https://gist.github.com/ and puth the link here.

https://gist.github.com/woeterman94/08b501789a012b1e5dfcaa74a58f6c56

**List of activated apps:*Marked, Share Files (0.10.1) *

**Are you using external storage, if yes which one:No local/smb/sftp/...

**Are you using encryption:No

**Are you using an external user-backend, if yes which one:No LDAP/ActiveDirectory/Webdav/...

@ownclouders
Copy link
Contributor

GitMate.io thinks the contributor most likely able to help you is @PVince81.

Possibly related issues are #31454 (Problems with public shares), #18737 (share link problem), #18251 (Create Links for Shared Files or Folders (not a public share)), #3540 (TypeError on sharing via link), and #16224 (Sharing problem and typecasting if i share a link for public e.g. calendar).

@PVince81
Copy link
Contributor

duplicate of #31454
see there for a workaround

@lock
Copy link

lock bot commented Jul 30, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jul 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants