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

Endless loading when opening a file in section "Shared with me" or "Shared with other" #5324

Closed
ScharfViktor opened this issue Jun 21, 2021 · 4 comments
Assignees
Labels
Priority:p2-high Escalation, on top of current planning, release blocker Type:Bug Something isn't working

Comments

@ScharfViktor
Copy link
Contributor

ScharfViktor commented Jun 21, 2021

Steps to reproduce

  1. user 1 share file with type "jpeg" to user 2
  2. user 2 accepted file and
  3. user try to open file in section "shared with me"

Expected behaviour

File can be opened in Mediaviewer.

Actual behaviour

endless loading. "Cannot read property 'substr' of undefined".

Client configuration

**Browser: Chrome v. 91.0.4472.106 **

Operating system: Macos Big Sure v.11.2.3

Server configuration

ocis v1.7.0 reachable at https://localhost:9200

### Browser log
TypeError: Cannot read property 'substr' of undefined
    at s.thumbUrl (web-app-media-viewer-31ff9edb.js:1)
    at Xf.get (vendor-ec2977a5.js:28)
    at Xf.evaluate (vendor-ec2977a5.js:28)
    at s.thumbUrl (vendor-ec2977a5.js:28)
    at s.loadMedium (web-app-media-viewer-31ff9edb.js:1)
    at s.activeIndex (web-app-media-viewer-31ff9edb.js:1)
    at Xf.run (vendor-ec2977a5.js:28)
    at Gf (vendor-ec2977a5.js:28)
    at Array.<anonymous> (vendor-ec2977a5.js:28)
    at Cd (vendor-ec2977a5.js:28)

 1

@ScharfViktor ScharfViktor added Type:Bug Something isn't working Web-Fastlane labels Jun 21, 2021
@kulmann
Copy link
Member

kulmann commented Jun 21, 2021

@ScharfViktor could you add the server (oCIS or ownCloud 10? which version?) and the used web version if run standalone?

From your screenshot I can already guess that it's an oCIS, probably with the embedded version of web. But please write it down here in the ticket, just to be sure. :-)

@wkloucek
Copy link
Contributor

wkloucek commented Jul 13, 2021

@kulmann I reproduced this with oCIS 1.9.0-RC1 / Web 3.4.1

Peek.2021-07-13.13-37.mp4

Gives me a TypeError in the console:

vendor-a9f0cd43.js:38 TypeError: Cannot read property 'substr' of undefined
    at a.thumbUrl (web-app-media-viewer-3ee62360.js:1)
    at Em.get (vendor-a9f0cd43.js:38)
    at Em.evaluate (vendor-a9f0cd43.js:38)
    at a.thumbUrl (vendor-a9f0cd43.js:38)
    at a.loadMedium (web-app-media-viewer-3ee62360.js:1)
    at activeIndex (web-app-media-viewer-3ee62360.js:1)
    at Jd (vendor-a9f0cd43.js:38)
    at Em.run (vendor-a9f0cd43.js:38)
    at _m (vendor-a9f0cd43.js:38)
    at Array.<anonymous> (vendor-a9f0cd43.js:38)

@ScharfViktor ScharfViktor changed the title Endless loading when opening a file in section "Shared with me" Endless loading when opening a file in section "Shared with me" or "Shared with other" Jul 19, 2021
@pascalwengerter
Copy link
Contributor

Fails initially on https://ocis.ocis-web.latest.owncloud.works with this.activeMediaFile.etag is undefined but mediaViewer works fine on page reload..

@kulmann kulmann added Priority:p2-high Escalation, on top of current planning, release blocker and removed p3-medium labels Dec 13, 2021
@dschmidt dschmidt self-assigned this Jan 20, 2022
@dschmidt
Copy link
Member

dschmidt commented Mar 4, 2022

Fixed in #6456

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority:p2-high Escalation, on top of current planning, release blocker Type:Bug Something isn't working
Projects
No open projects
Status: Done
Development

No branches or pull requests

5 participants