Skip to content

ocs/v1.php/cloud/users/{userId} -> quota -> wrong relative amount #4357

Closed

Description

@AlexAndBear

Describe the bug

ocs/v1.php/cloud/users/{userId} -> quota -> wrong relative amount

image

Steps to reproduce

Steps to reproduce the behavior:

  1. Set personal drive quota to 100MB
  2. Upload a file with 69MB
  3. See quota relative property in ocs/v1.php/cloud/users/admin endpoint
<quota
>
<free
>
30818752
</free
>
<used
>
69181248
</used
>
<total
>
100000000
</total
>
<relative
>
0.69181246
</relative
>
</quota>

Expected behavior

Should be: 69.181246

Actual behavior

Is: 0.69181246

Setup

Please describe how you started the server and provide a list of relevant environment variables or configuration files.

Details

OCIS_XXX=somevalue
OCIS_YYY=somevalue
PROXY_XXX=somevalue

Additional context

Add any other context about the problem here.

Activity

  1. micbar commented on Aug 12, 2022

    @micbar
    Contributor

    Checked with ocs spec, should be real percentage like @janackermann states it.

  2. added
    Priority:p2-high
    and removed
    Priority:p3-medium
    on Sep 14, 2022
  3. self-assigned this
    on Sep 14, 2022
  4. rhafer commented on Sep 14, 2022

    @rhafer
    Contributor

    Will be fixed with cs3org/reva#3238

  5. moved this from Done to Needs Tests in Infinite Scale Team Boardon Dec 22, 2022
  6. SwikritiT commented on Jan 30, 2023

    @SwikritiT
    Contributor
  7. moved this from Needs Tests to Done in Infinite Scale Team Boardon Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Priority:p2-highType:Bug

Type

No type

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions