Fix bug on non-existing last modified
parent
aa6531efe1
commit
820e268e3e
|
@ -22,6 +22,8 @@ import com.wisemapping.exceptions.AccessDeniedSecurityException;
|
|||
import com.wisemapping.exceptions.WiseMappingException;
|
||||
import com.wisemapping.util.ZipUtils;
|
||||
import org.apache.commons.lang.StringEscapeUtils;
|
||||
import org.hibernate.annotations.NotFound;
|
||||
import org.hibernate.annotations.NotFoundAction;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
|
@ -52,6 +54,7 @@ public class Mindmap implements Serializable {
|
|||
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@JoinColumn(name = "last_editor_id", nullable = false)
|
||||
@NotFound(action = NotFoundAction.IGNORE)
|
||||
private User lastEditor;
|
||||
|
||||
private String description;
|
||||
|
|
Loading…
Reference in New Issue