Skip to content

Commit 41daf54

Browse files
committed
In the user notification about a comment on a contribution, the author
of the comment was missed. Fix this issue.
1 parent f2d21aa commit 41daf54

File tree

4 files changed

+3
-12
lines changed

4 files changed

+3
-12
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
<b>$comment.owner$</b> hat kommentiert <b>$contentTitle$</b>.
1+
<b>$comment.creator.displayedName$</b> hat kommentiert <b>$contentTitle$</b>.
22

33
<div style="background-color:#FFF9D7; border:1px solid #E2C822; padding:5px; width:390px;">$comment.message$</div>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
<b>$comment.owner$</b> has commented <b>$contentTitle$</b>.
1+
<b>$comment.creator.displayedName$</b> has commented <b>$contentTitle$</b>.
22

33
<div style="background-color:#FFF9D7; border:1px solid #E2C822; padding:5px; width:390px;">$comment.message$</div>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
<b>$comment.owner$</b> a commenté <b>$contentTitle$</b>.
1+
<b>$comment.creator.displayedName$</b> a commenté <b>$contentTitle$</b>.
22

33
<div style="background-color:#FFF9D7; border:1px solid #E2C822; padding:5px; width:390px;">$comment.message$</div>

core-services/comment/src/main/java/org/silverpeas/core/comment/model/Comment.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -127,15 +127,6 @@ public User getCreator() {
127127
return User.getById(String.valueOf(authorId));
128128
}
129129

130-
@Override
131-
public String getTitle() {
132-
return "";
133-
}
134-
135-
@Override
136-
public String getDescription() {
137-
return "";
138-
}
139130

140131
@Override
141132
public String getId() {

0 commit comments

Comments
 (0)