[Bug]: Storage quota input shows default value instead of custom user value
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
⚠️ This issue respects the following points: ⚠️
- This is a bug, not a question or a configuration/webserver/proxy issue.
- This issue is not already reported on Github OR Nextcloud Community Forum (I've searched it).
- Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- I agree to follow Nextcloud's Code of Conduct.
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:
Edit mode activated:
Edit mode activated for the second time without reloading:
Steps to reproduce
- Have an account with a custom storage quota, different from the default one
- Open the accounts overview and check the shown storage quota
- Activate the edit more for the account
- Observe the storage quota input field contain the default storage quota, instead of the custom one, previously set.
- Save a (new) custom storage quota
- Edit the account again
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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