fix, при удалении пакета с сервера, нужно обнулять ссылку на results, иначе там несериализуемый объект.
This commit is contained in:
@@ -123,6 +123,7 @@ public class SapforTasksPackageSupervisor {
|
||||
//подготовка пакетного режима. Запустит его уже очередь.
|
||||
Utils.createScript(packageWorkspace, packageWorkspace, "start", "java -jar VisualSapfor.jar");
|
||||
//--
|
||||
sapforTasksPackage.state = TasksPackageState.RunningPreparation;
|
||||
}
|
||||
void PackageStart() throws Exception {
|
||||
System.out.println("start sapfor package " + sapforTasksPackage.id);
|
||||
@@ -208,7 +209,6 @@ public class SapforTasksPackageSupervisor {
|
||||
switch (sapforTasksPackage.state) {
|
||||
case TestsSynchronize:
|
||||
TestsSynchronize();
|
||||
sapforTasksPackage.state = TasksPackageState.RunningPreparation;
|
||||
planner.UpdateSapforPackage();
|
||||
break;
|
||||
case RunningPreparation:
|
||||
|
||||
@@ -36,6 +36,7 @@ public class DeleteSapforTasksPackage extends TestingSystemPass<SapforTasksPacka
|
||||
}
|
||||
@Override
|
||||
protected void ServerAction() throws Exception {
|
||||
target.results = null;
|
||||
Vector<SapforTasksPackage> vector = new Vector<>();
|
||||
vector.add(target);
|
||||
Command(new ServerExchangeUnit_2021(ServerCode.DeleteAccountObjects, Current.getAccount().email, vector));
|
||||
|
||||
Reference in New Issue
Block a user