Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 339517 - [client] Implementation for deleting files using 'More > Delete' not optimal
Summary: [client] Implementation for deleting files using 'More > Delete' not optimal
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 0.4 M1   Edit
Assignee: Susan McCourt CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-10 08:46 EST by Szymon Brandys CLA
Modified: 2011-10-27 14:47 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Szymon Brandys CLA 2011-03-10 08:46:56 EST
If we select couple projects in the navigator and try to delete them using 'More actions > Delete', POST to delete is sent per each selected file, but we also send GET to refresh the workspace per each file. We should send GET /workspace/[workspaceId] only once when all POSTs are finished.
Comment 1 Susan McCourt CLA 2011-10-27 14:47:37 EDT
fixed with d55e5cf4a889724b0c97a277640c633c684e9613.

We now refresh the UI only on the last delete (successful or unsuccessful).  Tested to ensure that it always updates, even if the last one deleted ran the error handler.

All that said, I didn't notice any significant performance improvement when deleting a handful (4-6) files.  but there is additional work to do in bug 361444.