]> git.mxchange.org Git - jjobs-war.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Sun, 2 Oct 2022 13:59:08 +0000 (15:59 +0200)
committerRoland Häder <roland@mxchange.org>
Sun, 2 Oct 2022 13:59:50 +0000 (15:59 +0200)
- don't copy fields from current (old data) to new instance (updated data)

src/java/org/mxchange/jjobs/beans/business/branchoffice/action/JobsAdminDepartmentActionWebRequestBean.java
src/java/org/mxchange/jjobs/beans/business/department/action/JobsAdminBranchOfficeActionWebRequestBean.java

index df87d5d7416950319c1559bbb2e73edb76934c01..ebddc599f877325780fb8c3e82f0973d7eec5402 100644 (file)
@@ -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());
 
index 96256bf6da327f16fcdbb06dc5ba4d6da433bd8d..aad9c0a11f7c610eccc30b354fd1e4d2ec630e0e 100644 (file)
@@ -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;