Skip to content

non md/txt files opening for external users only #651

@wiswedel

Description

@wiswedel

Describe the bug
Non md- or txt text-based files like .xml, .py or .json open for editing only for public sharees. Logged in users get stuck with an ever loading spinner.

To Reproduce
Steps to reproduce the behavior:

  1. As a logged in user, upload a .py or .xml or .json file to Nextcloud (these are the types I tested with, sure there are more)
  2. Share the file via public link with editing rights
  3. As a sharee, open the public link
  4. File opens for editing in Text
  5. As logged in user, open the same file

Expected behavior
File opens for editing in Text

Actual behavior

  • Text's top bar with sidebar- and closing controls shows
  • spinner in the screen's center spins forever

NC 18.0.0
Text 2.0.0

nothing in the logs

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions