Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/23/18 14:00:03 (6 years ago)
Author:
jzenisek
Message:

#2839

  • adapted handling of cascading revocations of project-user permissions and project-resource assignments: from deleting all AssignedJobResource (formerly) to deleting only entries which are effected by the previously mentioned revocations (now)
  • implemented job update (client side)
  • corrected & improved stateful project/resource selection dialog
  • corrected resource statistic calculation in project/resource selection dialog
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HiveProjectManagement/HeuristicLab.Clients.Hive/3.3/HiveClient.cs

    r15630 r15642  
    249249    }
    250250
     251    public static void UpdateJob(Action<Exception> exceptionCallback, RefreshableJob refreshableJob, CancellationToken cancellationToken) {
     252      HiveServiceLocator.Instance.CallHiveService(service => {
     253        HiveClient.StoreAsync(
     254          new Action<Exception>((Exception ex) => {
     255            //refreshableJob.ExecutionState = ExecutionState.Prepared;
     256            exceptionCallback(ex);
     257          }), refreshableJob.Job, cancellationToken);
     258      });
     259    }
     260
    251261    #region Upload Job
    252262    private Semaphore taskUploadSemaphore = new Semaphore(Settings.Default.MaxParallelUploads, Settings.Default.MaxParallelUploads);
Note: See TracChangeset for help on using the changeset viewer.