Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core: few "Date" fields overridden with wrong values during Copy Cons…
…tructor For some reason during Copy Constructor of the "DiskImage" class, the "CreationDate" &"LastModified" are overridden from the correct date of the original "DiskImage" to the current date, and additionally the "ImageStatus" ends up always in "ImageStatus.LOCKED" status. This definitely seems wrong and doesn't make any sense. This code was refactored lately in: https://gerrit.ovirt.org/c/ovirt-engine/+/117500/17/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/storage/DiskImage.java#77 But it looks like this strange implementation started at 2012: https://gerrit.ovirt.org/c/ovirt-engine/+/3835/4/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/DiskImage.java#350 Signed-off-by: Pavel Bar <pbar@redhat.com>
- Loading branch information