From 14bcfff39d90dc0c4a9b38786ddca1aaa30a4734 Mon Sep 17 00:00:00 2001 From: srosse <none@none> Date: Tue, 28 Feb 2017 14:02:15 +0100 Subject: [PATCH] OO-2589: pseudonym can be updated --- src/main/java/org/olat/modules/fo/model/MessageImpl.java | 2 +- .../java/org/olat/modules/fo/ui/MessageEditController.java | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main/java/org/olat/modules/fo/model/MessageImpl.java b/src/main/java/org/olat/modules/fo/model/MessageImpl.java index 90b70a0e4da..9bb1255adbe 100644 --- a/src/main/java/org/olat/modules/fo/model/MessageImpl.java +++ b/src/main/java/org/olat/modules/fo/model/MessageImpl.java @@ -100,7 +100,7 @@ public class MessageImpl implements CreateInfo, Persistable, Message { @JoinColumn(name="forum_fk", nullable=false, insertable=true, updatable=false) private Forum forum; - @Column(name="pseudonym", nullable=true, insertable=true, updatable=false) + @Column(name="pseudonym", nullable=true, insertable=true, updatable=true) private String pseudonym; @Column(name="guest", nullable=true, insertable=true, updatable=false) private boolean guest; diff --git a/src/main/java/org/olat/modules/fo/ui/MessageEditController.java b/src/main/java/org/olat/modules/fo/ui/MessageEditController.java index b21975ba6f9..f9709808b5d 100644 --- a/src/main/java/org/olat/modules/fo/ui/MessageEditController.java +++ b/src/main/java/org/olat/modules/fo/ui/MessageEditController.java @@ -71,7 +71,6 @@ import org.olat.modules.fo.Forum; import org.olat.modules.fo.ForumCallback; import org.olat.modules.fo.ForumChangedEvent; import org.olat.modules.fo.ForumLoggingAction; -import org.olat.modules.fo.ForumModule; import org.olat.modules.fo.Message; import org.olat.modules.fo.Pseudonym; import org.olat.modules.fo.manager.ForumManager; @@ -127,8 +126,6 @@ public class MessageEditController extends FormBasicController { @Autowired private ForumManager fm; @Autowired - private ForumModule forumModule; - @Autowired private BaseSecurity securityManager; @Autowired private NotificationsManager notificationsManager; -- GitLab