убирание джсон запакованных полей у баг репортов
This commit is contained in:
2025-03-27 15:31:26 +03:00
parent dcdbaa83cf
commit 7178ecbc9c
19 changed files with 43 additions and 189 deletions

View File

@@ -1,5 +1,4 @@
package _VisualDVM.Passes.All;
import Common.Passes.Pass;
import Common.Utils.Utils_;
import Common.Visual.UI;
import _VisualDVM.ComponentsServer.BugReport.BugReport;
@@ -10,7 +9,6 @@ import _VisualDVM.Passes.PassCode;
import _VisualDVM.Passes.Server.PublishServerObject;
import _VisualDVM.Repository.EmailMessage;
import java.io.File;
import java.util.Date;
public class PublishBugReport extends PublishServerObject<ComponentsServer, BugReport> {
public PublishBugReport() {
@@ -21,7 +19,7 @@ public class PublishBugReport extends PublishServerObject<ComponentsServer, BugR
return "/Common/icons/Publish.png";
}
@Override
protected boolean canStart(Object... args) throws Exception{
protected boolean canStart(Object... args) throws Exception {
if (Global.componentsServer.db.bugReports.getUI().CheckCurrent(Log)) {
target = Global.componentsServer.db.bugReports.getUI().getCurrent();
if (!target.state.equals(BugReportState.draft)) {
@@ -53,10 +51,8 @@ public class PublishBugReport extends PublishServerObject<ComponentsServer, BugR
"Обнаружена ошибка " + Utils_.Brackets(target.id),
target.getNewMailText()
);
/*
Global.mainModule.getPass(PassCode.Email).Do(
message,
Global.componentsServer.db.recipients.getSelectedMails());
*/
}
}