Free cookie consent management tool by TermsFeed Policy Generator

Changeset 1826


Ignore:
Timestamp:
05/15/09 13:46:51 (15 years ago)
Author:
msteinbi
Message:

fixed bug with resource check (#599)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Server.Core/3.2/ClientManager.cs

    r1825 r1826  
    159159        Response response = new Response();
    160160
    161         if (resource.Id != Guid.Empty) {
    162           response.Success = false;
    163           response.StatusMessage = ApplicationConstants.RESPONSE_CLIENT_ID_MUST_NOT_BE_SET;
    164           return response;
    165         }
    166 
    167161        ClientGroup clientGroup = clientGroupAdapter.GetById(clientGroupId);
    168162        if (clientGroup == null) {
     
    172166        }
    173167        clientGroup.Resources.Add(resource);
     168        clientGroupAdapter.Update(clientGroup);
    174169
    175170        response.Success = true;
Note: See TracChangeset for help on using the changeset viewer.