Details
-
Type:
Bug
-
Status: New
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 3.23.0, 3.24.0, 3.30.0, 3.37.3, 3.38.1
-
Fix Version/s: None
-
Labels:
-
Environment:(MacOSX)
-
Notability:4
Description
An update of the soft quota in a blobstore (e.g. curl -X PUT "http://localhost:8081/service/rest/beta/blobstores/file/test2" -H "accept: application/json" -H "Content-Type: application/json" -d "{ \"softQuota\":
{ \"type\": \"spaceUsedQuota\", \"limit\": 2 }, \"path\": \"test2\"}" -u admin:admin123) is inputting 2 bytes rather than 2 MB. The REST documentation says MB but when you look at the result in the UI it shows 0 (rounding). If you put in 1000000 it shows 1 in the UI.
The fix could be to just put bytes in the documentation but that would not match the UI, so I would suggest if possible making the field MB input.
Attachments
Issue Links
- discovered while testing
-
NEXUS-23922 Remove blobstores API from beta
-
- Done
-
- is related to
-
NEXUS-29404 Blobstore soft quota entered as MB is treated as Bytes
-
- Closed
-