nextcloud / nextcloud/server

[Bug]: Storage quota input shows default value instead of custom user value

Open
#57,468 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage 32-feedback bug feature: users and groups
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

⚠️ This issue respects the following points: ⚠️
Bug description

In the account overview, the storage quota that is set for each account individually is shown in its appropriate column.
As soon as edit mode is activated for a specific account, the input field for the storage quota doesn't contain the quota previously set for the account, but the default quota.
After saving some custom storage quota, it is shown correctly again.

When editing again without reloading, the custom storage quota is shown correctly in the input field.

Accounts overview:
Image

Edit mode activated:
Image

Edit mode activated for the second time without reloading:
Image

Steps to reproduce
  1. Have an account with a custom storage quota, different from the default one
  2. Open the accounts overview and check the shown storage quota
  3. Activate the edit more for the account
  4. Observe the storage quota input field contain the default storage quota, instead of the custom one, previously set.
  5. Save a (new) custom storage quota
  6. Edit the account again
  7. Observe the storage quota input field contains the just saved custom storage quota.
Expected behavior

The storage quota input field contains the custom storage quota previously set for the account, when editing the account.

Nextcloud Server version

32

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.3

Web server

Apache (supported)

Database engine version

MariaDB

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

None

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?
  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other
Configuration report

List of activated Apps

Nextcloud Signing status
No errors have been found.
Nextcloud Logs

Additional info

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source files, tests, or entry points are named. Start by reproducing the issue in the account overview with an account using a custom quota, then trace the edit-mode storage quota input; done means it initially contains the account's saved custom quota rather than the default.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.