Skip to content

Change etag of folder when the quota of the folder changes #52875

@camilasan

Description

@camilasan

the problem

Currently the client is only creating a PROPFIND request when the etag of folders/files changes. In that request we ask for the properties quota-bytes-available and quota-bytes-used. During the discovery of a new file to upload we try to warn the user of the quota usage when needed based on the quota-bytes-available we got during a PROPFIND.

If the user only got more space and did not touch the folder by deleting files to get more space, the client won't know that the quota changed.
The client will wrongly stop the user from uploading new files even when they have space left in storage because a new PROPFIND was not triggered and information stored in the client is outdated.

solution

Change the etag of folders when the quota changes to make sure the client can update the user of how much quota is left without delays.

@sorbaugh @come-nc @icewind1991 ^^

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions