File-upload unusable with no user quota (hard to debug)

未关闭
#2,900 9 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

这个 Issue 还没有评估数据。

描述

1. to develop bug discussion

Describe the bug
I run a NextCloud instance where all users have their quotas set to 0B and everything is in Group Folders. This means that file-upload fields in Forms are unusable, as a permissions error is thrown when trying to upload a file, and there seems to be nothing that can be done about it. Furthermore, the upload fails silently and users (form creators or form fillers) are very confused! Even the NotPermittedException error in the admin logs isn't as helpful as it might be (I just spent 15 minutes checking file permissions and scratching my head before I guessed that this might be the issue).

To Reproduce
Set user quota to 0B; user can no longer use file-upload on Forms, and will not understand why.

Expected behavior
Ideally, a way to use group folders for file-upload Forms. Or at least a notification or other indication that it's not going to work.

Nextcloud (please complete the following information):

  • Nextcloud-Version: 31.0.8
  • Forms-Version: 5.1.2

Browser log
Server returns 500 errors.

Additional context

Admin log shows:
Level: Error
Application: no app in context
Message: NotPermittedException Could not create folder "/<user>/files/Forms/unsubmitted/<timestamp>/2 - Test Form/3 - file-upload"

主要语言
JavaScript
星标
385
派生
133
平均合并
7 小时 54 分钟
30 天内合并 PR
157

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

nextcloud/forms 的其他 Issue

查看 nextcloud/forms 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。