From: Roland Häder Date: Sun, 2 Oct 2022 13:59:08 +0000 (+0200) Subject: Please cherry-pick: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=41ea270f447d3539ee6d9569f098474696ac8d15;p=jjobs-war.git Please cherry-pick: - don't copy fields from current (old data) to new instance (updated data) --- diff --git a/src/java/org/mxchange/jjobs/beans/business/branchoffice/action/JobsAdminDepartmentActionWebRequestBean.java b/src/java/org/mxchange/jjobs/beans/business/branchoffice/action/JobsAdminDepartmentActionWebRequestBean.java index df87d5d7..ebddc599 100644 --- a/src/java/org/mxchange/jjobs/beans/business/branchoffice/action/JobsAdminDepartmentActionWebRequestBean.java +++ b/src/java/org/mxchange/jjobs/beans/business/branchoffice/action/JobsAdminDepartmentActionWebRequestBean.java @@ -403,7 +403,6 @@ public class JobsAdminDepartmentActionWebRequestBean extends BaseJobsBean implem department.setDepartmentBranchOffice(this.getDepartmentBranchOffice()); department.setDepartmentHeadquarter(this.getDepartmentHeadquarter()); department.setDepartmentId(this.getDepartmentId()); - System.out.println("this.departmentLead=" + this.getDepartmentLead()); department.setDepartmentLead(this.getDepartmentLead()); department.setDepartmentUserOwner(this.getDepartmentUserOwner()); diff --git a/src/java/org/mxchange/jjobs/beans/business/department/action/JobsAdminBranchOfficeActionWebRequestBean.java b/src/java/org/mxchange/jjobs/beans/business/department/action/JobsAdminBranchOfficeActionWebRequestBean.java index 96256bf6..aad9c0a1 100644 --- a/src/java/org/mxchange/jjobs/beans/business/department/action/JobsAdminBranchOfficeActionWebRequestBean.java +++ b/src/java/org/mxchange/jjobs/beans/business/department/action/JobsAdminBranchOfficeActionWebRequestBean.java @@ -901,9 +901,6 @@ public class JobsAdminBranchOfficeActionWebRequestBean extends BaseJobsBean impl return ""; //NOI18N } - // Copy all fields - BranchOffices.copyBranchOfficeData(this.getCurrentBranchOffice(), branchOffice); - // Initialize updated instance final BranchOffice updatedBranchOffice;