Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/16/15 11:50:41 (9 years ago)
Author:
dglaser
Message:

#2388:

HeuristicLab.Services.WebApp-3.3:

  • Fixed a bug which caused the PluginManager to not reload an existing plugin
  • Changed Path.PathSeparator to Path.DirectorySeparatorChar

HeuristicLab.Services.Hive-3.3:

  • HiveStatisticsGenerator.cs: When moving a client to another group is now recognized properly
  • Fixed the 'unknown user' problem

Installers/HiveJanitorServiceInstaller.nsi:

  • Added HeuristicLab.Services.Access.DataAccess.dll
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HiveStatistics/sources/HeuristicLab.Services.WebApp/3.3/PluginManager.cs

    r12515 r12765  
    6060    private void OnFilesChanged(object sender, FileSystemEventArgs args) {
    6161      string path = args.FullPath.Remove(0, PluginsDirectory.Length + 1);
    62       var pathParts = path.Split(Path.PathSeparator);
     62      var pathParts = path.Split(Path.DirectorySeparatorChar);
    6363      string pluginName = pathParts[0];
    64       if (pathParts.Length == 1) {
     64      if (pathParts.Length <= 2) {
    6565        switch (args.ChangeType) {
    6666          case WatcherChangeTypes.Created:
     
    7575            RenamedEventArgs renamedArgs = (RenamedEventArgs)args;
    7676            string oldPath = renamedArgs.OldFullPath.Remove(0, PluginsDirectory.Length + 1);
    77             var oldPathParts = oldPath.Split(Path.PathSeparator);
     77            var oldPathParts = oldPath.Split(Path.DirectorySeparatorChar);
    7878            string oldPluginName = oldPathParts[0];
    7979            plugins.Remove(oldPluginName);
Note: See TracChangeset for help on using the changeset viewer.