Skip to content

Auto detect proper file extension after renaming a file #2736

@onny

Description

@onny

Steps to reproduce

  1. Upload a file without file extension
  2. Renaming it to something like xyz.pdf
  3. Unfortunately, the file gets recognized as pdf only after refreshing the page

Expected behaviour

File should be recognized as pdf after renaming automatically without refreshing the folder contents

Actual behaviour

Even the file has the extension ".pdf" it does not get recognized as pdf and can therefore not be opened with the pdf viewer. This is solved by refreshing the page.

Server configuration

Nextcloud version: 11.0 stable

Updated from an older Nextcloud/ownCloud or fresh install: updated

Where did you install Nextcloud from: ArchLinux user repository

Note

I removed further debug details since they may be not relevant to this issue.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions