Skip to content

[Bug]: Fail to create a second file in the Files web interface, unless I reload #45486

@blizzz

Description

@blizzz

⚠️ This issue respects the following points: ⚠️

Bug description

When creating a file in the web interface via "+ New", it will be created and opened immediately. When this document is closed and a second document is created, it will appear, but it will not be opened – it needs a page refresh. For some 3rd party applications it is bad, because the created files are just plain empty 0 bytes files, but e.g. MS's Office Online expects a setup office document.

It's probably a sharp corner from the F2V effort.

Steps to reproduce

  1. After a refresh of Nextcloud Files, it is possible to create a new speadsheet document. It opens automatically.
  2. Then you close the document and create a new spreadsheet document. It does not open automatically and stays at 0 bytes.
  3. When you reload the browser, creating a new document will open open Office Online again.
  4. If you try steps 1-3 for a simple "New text file" instead of a spreadsheet, the results are the same (only that it opens with the Text editor the first time after a refresh).

Expected behavior

It works just as the first time.

Installation method

None

Nextcloud Server version

28

Operating system

None

PHP engine version

None

Web server

None

Database engine version

None

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

No response

List of activated Apps

No response

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions