no message
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
package Visual_DVM_2021.Passes.All;
|
||||
import Common.Utils.CommonUtils;
|
||||
import Common_old.Current;
|
||||
import Common_old.UI.UI;
|
||||
import Common_old.Utils.Utils;
|
||||
@@ -49,7 +50,7 @@ public class AppendBugReportField extends ComponentsRepositoryPass<BugReport> {
|
||||
Command(new ServerExchangeUnit_2021(ServerCode.GetObjectCopyByPK, "", new Pair<>(BugReport.class, target.id)));
|
||||
target.SynchronizeFields((BugReport) response.object);
|
||||
oldValue = (String) BugReport.class.getField(fieldName).get(target);
|
||||
newValue = oldValue + "\n" + Utils.Brackets(Utils.print_date(
|
||||
newValue = oldValue + "\n" + CommonUtils.Brackets(Utils.print_date(
|
||||
new Date())) + " " + Current.getAccount().name
|
||||
+ " : " + addition;
|
||||
//2. дописываем нужное поле.
|
||||
@@ -84,7 +85,7 @@ public class AppendBugReportField extends ComponentsRepositoryPass<BugReport> {
|
||||
}
|
||||
passes.get(PassCode_2021.Email).Do(
|
||||
new EmailMessage(
|
||||
message_header + " " + Utils.Brackets(Current.getAccount().name),
|
||||
message_header + " " + CommonUtils.Brackets(Current.getAccount().name),
|
||||
message_text,
|
||||
BugReportInterface.getRecipients(target)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user