-
Type: Bug
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: 30.1, 32
-
Fix Version/s: QualifiedToSchedule
-
Component/s: Connect / Account Management
-
Tags:
StudioAPI.getProjects() allows any authorised user to query the entire list of projects he is a contributor for. But for user with a lot of projects (for example Nuxeo's people), the query takes too long and triggers a "Gateway timeout". This lets the query run on the server side anyway. This query, (especially in the branch management + workspaces" version) will consume a lot of resources, and slow down the server.
This API should be removed (it seems it is only used by Nuxeo IDE so far). A new API (something like StudioAPI.getProjectsNames()) should be exposed for Nuxeo IDE, with (to be confirmed) Name and Id.
IMPORTANT: Once implemented, we may require cleaning what has been done in NXS-3056.