no message

This commit is contained in:
2025-02-04 00:44:45 +03:00
parent 505d151ee5
commit ae2327347a
4 changed files with 42 additions and 34 deletions

View File

@@ -11,6 +11,7 @@ import _VisualDVM.GlobalData.RemoteFile.RemoteFile;
import _VisualDVM.GlobalData.User.User;
import _VisualDVM.Passes.All.ArchivesBackupPass;
import _VisualDVM.Passes.All.UnzipFolderPass;
import _VisualDVM.Passes.All.UpdateBugReportField;
import _VisualDVM.Passes.All.ZipFolderPass;
import _VisualDVM.ProjectData.LanguageName;
import _VisualDVM.Repository.BugReport.BugReport;
@@ -185,14 +186,14 @@ public class ComponentsServer extends RepositoryServer<BugReportsDatabase> {
if (db.bugReports.containsKey(oldBugReport.id)) {
bugReport = db.bugReports.get(oldBugReport.id);
bugReport.SynchronizeFields(oldBugReport);
bugReport.change_date = oldBugReport.change_date;
bugReport.change_date = new Date().getTime();
db.Update(bugReport);
response = new ServerExchangeUnit_2021(ServerCode.OK);
} else
throw new RepositoryRefuseException("Баг репорт с ключом " + oldBugReport.id + " не существует.");
break;
//todo вывести устарело
case UpdateBugReportField: //нужно для дополнений полей
case UpdateBugReportField:
//-
BugReport oldBugReport_ = (BugReport) request.object;
Print("Обновить поле " + request.arg + " баг репорта " + oldBugReport_.id);