Tree view should load one level of subfolders in one HTTP request
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu One Servers |
Fix Released
|
Low
|
Martin Albisetti |
Bug Description
The tree view issues multiple requests to get info about the server view:
GET https:/
[{"share_id": null, "type": "folder list", "value": ["fca0082b-
Then for each "value" a new request is created.
Imagine a folder with 200 subfolders:
[{"share_id": null, "type": "folder list", "value": ["51c8c904-
...
"9a734f89-
For each folder a new request will be created, leading to a massive amount of HTTP calls.
Some of them might never complete (like for the first time), some will give the user '03:13:54 PM (1ms): network: Error parsing json: ' message (in console log) thus leading to an incomplete view. 304 response helps a bit, but it should be given for each and every file and folder.
Since the server knows all the structure already, it is possible to eliminate such amount of traffic/requests by providing a single request/response for every nesting level.
visibility: | private → public |
Changed in ubuntuone-servers: | |
assignee: | nobody → Zachery Bir (urbanape) |
Changed in ubuntuone-servers: | |
status: | New → Confirmed |
assignee: | Zachery Bir (urbanape) → Ubuntu One Desktop+ team (ubuntuone-desktop+) |
tags: | added: desktop+ |
Changed in ubuntuone-servers: | |
status: | Confirmed → In Progress |
assignee: | Ubuntu One Desktop+ team (ubuntuone-desktop+) → Martin Albisetti (beuno) |
importance: | Undecided → Low |
Changed in ubuntuone-servers: | |
status: | In Progress → Fix Released |