-
-
Notifications
You must be signed in to change notification settings - Fork 90
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
images not opening in NC21 #543
Comments
@eneiluj @skjnldsv @juliushaertl canDelete() {
return this.currentFile?.permissions?.includes('D')
}, For some reason permissions is an integer valued 27 in my case. basename: "2629971823265445308_account_id=3.jpg"
dateTaken: ***8887735
etag: "***60521b5f8899967cefbf380a809de"
failed: false
fileId: ***4023
fileid: ***4023
filename: ***
hasPreview: true
lastmod: ***41743**
lat: 48.***
lng: 7.***
loaded: false
mime: "image/jpeg"
modal: {…}
path: ***
permissions: 27
size: ***547
type: "file"
|
Seems like an issue with a manually provided file info here. For the files app permissions are handed over from the webdav response in a string based represenation. @skjnldsv I guess it would make sense to not only check for the dav permission flags but also try to check against the bitwise permissions when a numeric value is provided. |
Same issue here, I also get a |
Same here. Any update on this issue? Is there anything we can do to help diagnose this problem? |
This comment has been minimized.
This comment has been minimized.
Yeah, I'm fine with that, but this is frustrating to have to manage both cases 🤔 |
I'm not sure about that, while the permissions dav property is in the http://owncloud.org/ns namespace so nothing that seems to be inside of the webdav standard itself, it would be a breaking change for clients all over the place. As a workaround the maps app could of course just map those permissions from the bit flags to the dav format based on how the backend does it in https://github.com/nextcloud/server/blob/19a3ac67a719e3e71fabdffe8921dbbd9ffc22fc/apps/dav/lib/Connector/Sabre/Node.php#L300-L327 |
Whats inconvenient is that \OCP\Files\Node implemented by OC\Files\Node maps/lib/Service/GeophotoService.php Line 97 in fbf257d
Anyhow I think the root issue should be fixed in server or viewer. |
Anybody out there willing to test #559? |
Hello, many thankks @tacruc I can confim its working again. |
Thank you very much for this fix! Any chance to have a release with it soon ? Thanks! |
Works for me. Thank you @tacruc. |
Up, any idea of when this will be released ? |
I just updated to NC21, but now I can no longer view images from maps, instead I see a spinner (the same files do view from Files and in the Photos app)
When looking at the console, I see that the preview is successfully fetched, but it is not shown.
console-export-2021-2-26_9-15-49.txt
NC21.0.0, Maps 0.1.8
The text was updated successfully, but these errors were encountered: