You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As project name is not a mandatory attribute for the project, we need to change behaviour of updating project on the workspace {{org.eclipse.che.api.workspace.server.WorkspaceService#updateProject}} to search project by its path, not by name, otherwise we can get a NPE. if (!workspace.getConfig().getProjects().removeIf(project -> project.getName().equals(update.getName()))) { throw new NotFoundException("Workspace " + id + " doesn't contain project " + update.getName()); }
The text was updated successfully, but these errors were encountered:
As project name is not a mandatory attribute for the project, we need to change behaviour of updating project on the workspace {{org.eclipse.che.api.workspace.server.WorkspaceService#updateProject}} to search project by its path, not by name, otherwise we can get a NPE.
if (!workspace.getConfig().getProjects().removeIf(project -> project.getName().equals(update.getName()))) { throw new NotFoundException("Workspace " + id + " doesn't contain project " + update.getName()); }
The text was updated successfully, but these errors were encountered: