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

Shared albums only share the previews #1464

Closed
feanor12 opened this issue Nov 7, 2022 · 2 comments
Closed

Shared albums only share the previews #1464

feanor12 opened this issue Nov 7, 2022 · 2 comments
Labels
0. Needs triage Pending approval or rejection. This issue is pending approval. bug Something isn't working

Comments

@feanor12
Copy link

feanor12 commented Nov 7, 2022

Describe the bug
I create an album and a public link for sharing. After logging out and opening the public link I see the image previews but when I click on an image I get: "Error while loading image ..."

To Reproduce
Steps to reproduce the behavior:

  1. Create an album
  2. Put pictures in it
  3. Click on the share icon
  4. Create a public link
  5. Copy the public link by clicking the button again
  6. Log out
  7. Ppen the public link
  8. See the album preview
  9. Click on an image preview
  10. Get an error message

Expected behavior
A full-sized view of the selected image

Desktop (please complete the following information):

  • OS: linux
  • Browse: firefox 106.0.4
  • Nextcloud Version 25.0.1

Browser log

GEThttps://domain.at/apps/photos/css/icons.css?v=d233662f-41
[HTTP/2 404 Not Found 96ms]

The resource from “https://domain.at/apps/photos/css/icons.css?v=d233662f-41” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff). RBeFeQa3HtE17sqT5FmOenYHHKhVftE2
Proxying an event bus of version 2.1.1 with 1.3.0 index.es.js:2337:14
JQMIGRATE: Migrate is installed, version 3.4.0 jquery-migrate.min.js:2:698
Proxying an event bus of version 2.1.1 with 3.0.2 jsonp chunk loading:1:58
Proxying an event bus of version 2.1.1 with 1.3.0 index.es.js:2337:14
[WARN] viewer: Some mimes were ignored because they are not enabled in the server previews config 
Object { level: 0, app: "viewer", ignoredMimes: (3) […] }
ConsoleLogger.js:60:18
OCA.Viewer initialized Viewer.js:51:25
[INFO] viewer: No OCA.Files app found, viewer is now in standalone mode 
Object { level: 0, app: "viewer" }
ConsoleLogger.js:56:18
Proxying an event bus of version 2.1.1 with 1.3.0 index.es.js:2337:14
Proxying an event bus of version 2.1.1 with 3.0.2 index.js:19:20
oc_appswebroots is deprecated: use OC.appswebroots instead, this will be removed in Nextcloud 20 2 globals.js:60:15
Proxying an event bus of version 2.1.1 with 3.0.2 index.esm.js:11:12
Proxying an event bus of version 2.1.1 with 1.3.0 index.es.js:2337:6
Proxying an event bus of version 2.1.1 with 3.0.2 index.js:19:12
Proxying an event bus of version 2.1.1 with 3.0.2 ProxyBus.ts:16:12
Proxying an event bus of version 2.1.1 with 1.3.0 index.es.js:2337:6
Proxying an event bus of version 2.1.1 with 3.0.2 ProxyBus.ts:16:12
jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. 2 globals.js:60:15
[INFO] viewer: 5 viewer handlers registered 
Object { level: 0, app: "viewer", handlers: (5) […] }
ConsoleLogger.js:56:18
$ is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. 3 globals.js:60:15
session heartbeat polling started session-heartbeat.js:103:9
$ is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. 2 globals.js:60:15
[DEBUG] Files_PDFViewer: Initializing for public page 
Object { level: 0, app: "Files_PDFViewer", isPublicPage: true, canDownload: true, isSecureViewerAvailable: false }
ConsoleLogger.js:52:18
[DEBUG] Files_PDFViewer: But this is not a single pdf share 
Object { level: 0, app: "Files_PDFViewer" }
ConsoleLogger.js:52:18
[DEBUG] photos: [TiledLayout] Computing rows 
Object { level: 0, app: "photos", items: (20) […] }
ConsoleLogger.js:52:10
[DEBUG] photos: [VirtualScrolling] Computing visible rows 
Object { level: 0, app: "photos" }
ConsoleLogger.js:52:10
[DEBUG] photos: [VirtualScrolling] Computing container 
Object { level: 0, app: "photos" }
ConsoleLogger.js:52:10
[DEBUG] photos: [VirtualScrolling] Computing visible rows 
Object { level: 0, app: "photos" }
ConsoleLogger.js:52:10
[DEBUG] photos: [TiledLayout] Computing rows 
Object { level: 0, app: "photos", items: (20) […] }
ConsoleLogger.js:52:10
[DEBUG] photos: [VirtualScrolling] Computing visible rows 
Object { 0: {…}, 1: {…}, 2: {…}, 3: {…}, 4: {…}, 5: {…}, level: 0, app: "photos" }
ConsoleLogger.js:52:10
[ERROR] photos: SW registration failed:  
Object { level: 0, app: "photos", error: TypeError }
ConsoleLogger.js:64:10
[DEBUG] photos: [Albums] Fetched an album:  
Object { level: 0, app: "photos", data: {…} }
ConsoleLogger.js:52:10
[DEBUG] photos: [TiledLayout] Computing rows 
Object { level: 0, app: "photos", items: [] }
ConsoleLogger.js:52:10
[DEBUG] photos: [VirtualScrolling] Computing visible rows 
Object { level: 0, app: "photos" }
ConsoleLogger.js:52:10
[DEBUG] photos: [TiledLayout] Computing rows 
Object { level: 0, app: "photos", items: (20) […] }
ConsoleLogger.js:52:10
[DEBUG] photos: [VirtualScrolling] Computing visible rows 
Object { 0: {…}, 1: {…}, 2: {…}, 3: {…}, 4: {…}, 5: {…}, level: 0, app: "photos" }
ConsoleLogger.js:52:10
[DEBUG] photos: [Albums] Fetched 7 new files:  
Object { 0: {…}, 1: {…}, 2: {…}, 3: {…}, 4: {…}, 5: {…}, 6: {…}, level: 0, app: "photos" }
ConsoleLogger.js:52:10
[DEBUG] photos: [TiledLayout] Computing rows 
Object { level: 0, app: "photos", items: (7) […] }
ConsoleLogger.js:52:10
[DEBUG] photos: [VirtualScrolling] Computing visible rows 
Object { 0: {…}, 1: {…}, level: 0, app: "photos" }
ConsoleLogger.js:52:10
$ is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. globals.js:60:15
[INFO] viewer: Opening viewer for fileInfo  
Object { level: 0, app: "viewer", fileInfo: {…} }
ConsoleLogger.js:56:18
[DEBUG] viewer: A files list have been provided. No folder content will be fetched. 
Object { level: 0, app: "viewer" }
ConsoleLogger.js:52:18
[DEBUG] viewer: The files list changed, new current file index is 1 
Object { level: 0, app: "viewer" }
ConsoleLogger.js:52:18
GEThttps://domain.at/apps/files_sharing/publicpreview/null?file=/photospublic/RBeFeQa3HtE17sqT5FmOenYHHKhVftES/98467-IMG_20221023_132821.jpg&fileId=98467&x=1920&y=1080&a=true
[HTTP/2 404 Not Found 125ms]

GEThttps://domain.at/apps/files_sharing/publicpreview/null?file=/photospublic/RBeFeQa3HtE17sqT5FmOenYHHKhVftES/98510-IMG_20221023_132757.jpg&fileId=98510&x=1920&y=1080&a=true
[HTTP/2 404 Not Found 142ms]

GEThttps://domain.at/apps/files_sharing/publicpreview/null?file=/photospublic/RBeFeQa3HtE17sqT5FmOenYHHKhVftES/98488-IMG_20221023_132751.jpg&fileId=98488&x=1920&y=1080&a=true
[HTTP/2 404 Not Found 135ms]

Error loading /photospublic/RBeFeQa3HtE17sqT5FmOenYHHKhVftES/98467-IMG_20221023_132821.jpg 
error { target: img.viewer__file--hidden.viewer__file, isTrusted: true, srcElement: img.viewer__file--hidden.viewer__file, currentTarget: img.viewer__file--hidden.viewer__file, eventPhase: 2, bubbles: false, cancelable: false, returnValue: true, defaultPrevented: false, composed: false, … }
Mime.js:111:10
Error loading /photospublic/RBeFeQa3HtE17sqT5FmOenYHHKhVftES/98488-IMG_20221023_132751.jpg 
error { target: img.viewer__file--hidden.viewer__file, isTrusted: true, srcElement: img.viewer__file--hidden.viewer__file, currentTarget: img.viewer__file--hidden.viewer__file, eventPhase: 2, bubbles: false, cancelable: false, returnValue: true, defaultPrevented: false, composed: false, … }
Mime.js:111:10
Error loading /photospublic/RBeFeQa3HtE17sqT5FmOenYHHKhVftES/98510-IMG_20221023_132757.jpg 
error { target: img.viewer__file.viewer__file--active, isTrusted: true, srcElement: img.viewer__file.viewer__file--active, currentTarget: img.viewer__file.viewer__file--active, eventPhase: 2, bubbles: false, cancelable: false, returnValue: true, defaultPrevented: false, composed: false, … }
Mime.js:111:10
jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own. 240 globals.js:60:15

@feanor12 feanor12 added 0. Needs triage Pending approval or rejection. This issue is pending approval. bug Something isn't working labels Nov 7, 2022
@glaeh
Copy link

glaeh commented Nov 8, 2022

Can confirm this bug, same issue here using same Nextcloud version.

@feanor12
Copy link
Author

feanor12 commented Nov 8, 2022

Possible duplicate: #1452
Also seen in the log: #1451 #1455

@feanor12 feanor12 closed this as not planned Won't fix, can't repro, duplicate, stale Nov 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending approval or rejection. This issue is pending approval. bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants