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

a pdf file attached to a "text"(.md) file does not open #4723

Closed
mherweg opened this issue Aug 25, 2023 · 0 comments · Fixed by #5042
Closed

a pdf file attached to a "text"(.md) file does not open #4723

mherweg opened this issue Aug 25, 2023 · 0 comments · Fixed by #5042
Assignees
Labels
bug Something isn't working

Comments

@mherweg
Copy link

mherweg commented Aug 25, 2023

Steps to reproduce

in NC web GUI create a "text"(.md) File
use the attach button to attach a pdf file from server or from Computer
close/save this "text" file
open it again

Expected behaviour

when I click on the the pdf preview, the pdf file will open or offered for download
Actual behaviour

actual behaviour

a "broken image" preview - it looks like the pdf is treated like a gif or jpg
Server configuration

I tried it on 3 different NC Servers, run by 3 different teams. all Linux/docker

NC Version: 27.0.2

Operating system:
Debian Linux

@mherweg mherweg added the bug Something isn't working label Aug 25, 2023
@mejo- mejo- self-assigned this Nov 14, 2023
mejo- added a commit that referenced this issue Nov 22, 2023
When viewer is available, not in use and supports the mimetype, let's
open the attachment in viewer. Otherwise, open the file app URL in
a new tab.

Fixes: #3849, #4723

Signed-off-by: Jonas <jonas@freesources.org>
mejo- added a commit that referenced this issue Nov 27, 2023
When viewer is available, not in use and supports the mimetype, let's
open the attachment in viewer. Otherwise, open the file app URL in
a new tab.

Fixes: #3849, #4723

Signed-off-by: Jonas <jonas@freesources.org>
mejo- added a commit that referenced this issue Nov 27, 2023
When viewer is available, not in use and supports the mimetype, let's
open the attachment in viewer. Otherwise, open the file app URL in
a new tab.

Fixes: #3849, #4723

Signed-off-by: Jonas <jonas@freesources.org>
mejo- added a commit that referenced this issue Nov 27, 2023
When viewer is available, not in use and supports the mimetype, and
we're not in a public share, open the attachment in viewer. Otherwise,
download the attachment.

Fixes: #3849, #4723

Signed-off-by: Jonas <jonas@freesources.org>
mejo- added a commit that referenced this issue Nov 27, 2023
When viewer is available, not in use and supports the mimetype, and
we're not in a public share, open the attachment in viewer. Otherwise,
download the attachment.

Fixes: #3849, #4723

Signed-off-by: Jonas <jonas@freesources.org>
mejo- added a commit that referenced this issue Nov 27, 2023
When viewer is available, not in use and supports the mimetype, and
we're not in a public share, open the attachment in viewer. Otherwise,
download the attachment.

Fixes: #3849, #4723

Signed-off-by: Jonas <jonas@freesources.org>
@mejo- mejo- mentioned this issue Nov 27, 2023
49 tasks
@mejo- mejo- linked a pull request Nov 27, 2023 that will close this issue
49 tasks
mejo- added a commit that referenced this issue Nov 27, 2023
When viewer is available, not in use and supports the mimetype, and
we're not in a public share, open the attachment in viewer. Otherwise,
download the attachment.

Fixes: #3849
Fixes: #4723
Fixes: #5030

Signed-off-by: Jonas <jonas@freesources.org>
mejo- added a commit that referenced this issue Nov 27, 2023
When viewer is available, not in use and supports the mimetype, and
we're not in a public share, open the attachment in viewer. Otherwise,
download the attachment.

Fixes: #3849
Fixes: #4723
Fixes: #5030

Signed-off-by: Jonas <jonas@freesources.org>
mejo- added a commit that referenced this issue Nov 28, 2023
When viewer is available, not in use and supports the mimetype, and
we're not in a public share, open the attachment in viewer. Otherwise,
download the attachment.

Fixes: #3849
Fixes: #4723
Fixes: #5030

Signed-off-by: Jonas <jonas@freesources.org>
mejo- added a commit that referenced this issue Nov 29, 2023
When viewer is available, not in use and supports the mimetype, and
we're not in a public share, open the attachment in viewer. Otherwise,
download the attachment.

Fixes: #3849
Fixes: #4723
Fixes: #5030

Signed-off-by: Jonas <jonas@freesources.org>
mejo- added a commit that referenced this issue Nov 29, 2023
When viewer is available, not in use and supports the mimetype, and
we're not in a public share, open the attachment in viewer. Otherwise,
download the attachment.

Fixes: #3849
Fixes: #4723
Fixes: #5030

Signed-off-by: Jonas <jonas@freesources.org>
backportbot-nextcloud bot pushed a commit that referenced this issue Nov 29, 2023
When viewer is available, not in use and supports the mimetype, and
we're not in a public share, open the attachment in viewer. Otherwise,
download the attachment.

Fixes: #3849
Fixes: #4723
Fixes: #5030

Signed-off-by: Jonas <jonas@freesources.org>
mejo- added a commit that referenced this issue Dec 5, 2023
When viewer is available, not in use and supports the mimetype, and
we're not in a public share, open the attachment in viewer. Otherwise,
download the attachment.

Fixes: #3849
Fixes: #4723
Fixes: #5030

Signed-off-by: Jonas <jonas@freesources.org>
mejo- added a commit that referenced this issue Dec 5, 2023
When viewer is available, not in use and supports the mimetype, and
we're not in a public share, open the attachment in viewer. Otherwise,
download the attachment.

Fixes: #3849
Fixes: #4723
Fixes: #5030

Signed-off-by: Jonas <jonas@freesources.org>
mejo- added a commit that referenced this issue Dec 5, 2023
When viewer is available, not in use and supports the mimetype, and
we're not in a public share, open the attachment in viewer. Otherwise,
download the attachment.

Fixes: #3849
Fixes: #4723
Fixes: #5030

Signed-off-by: Jonas <jonas@freesources.org>
mejo- added a commit that referenced this issue Dec 5, 2023
When viewer is available, not in use and supports the mimetype, and
we're not in a public share, open the attachment in viewer. Otherwise,
download the attachment.

Fixes: #3849
Fixes: #4723
Fixes: #5030

Signed-off-by: Jonas <jonas@freesources.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants