You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Custom quotas like 4.1 or 8.2 GB fail with HTTP 400 #3673
I understand this is a bug report and questions should be posted in the Community Discussions
I searched issues and couldn’t find anything (or linked relevant results below)
Bug Description
Custom quotas like 4.1 or 8.2 GB fail with HTTP 400. Cause: packages/web-pkg/src/components/QuotaSelect.vue:128 computes parseFloat(option) * Math.pow(10, 9) without rounding.
Reproduction Steps
Edit quota of a space (or a user, or in the create dialog).
Type 4.1, press Enter, confirm.
Expected Outcome
The quota is set to 4,100,000,000 bytes.
Actual Outcome
The request sends 4099999999.9999995 and fails with 400 ("Failed to change space quota").
Activity