[Task 72215] removed the eperson flag from the REST metadata import script whilst leaving cli unaltered

This commit is contained in:
Raf Ponsaerts
2020-07-28 16:16:05 +02:00
parent 667a362b25
commit bbdc47fbbf
8 changed files with 146 additions and 27 deletions

View File

@@ -141,7 +141,7 @@ public class EPerson extends DSpaceObject implements DSpaceObjectLegacySupport {
return false;
}
final EPerson other = (EPerson) obj;
if (this.getID() != other.getID()) {
if (!this.getID().equals(other.getID())) {
return false;
}
if (!StringUtils.equals(this.getEmail(), other.getEmail())) {