From 65f78da0330e8c252fe25280c22ce4e7f3750d2b Mon Sep 17 00:00:00 2001 From: Andreas Svanberg Date: Mon, 25 Nov 2024 10:12:34 +0100 Subject: [PATCH] Fix saving the textboxes students fill in when submitting ideas Background, literature, problem, method, and interests were not being saved due to explicitly having been marked as "do not save". --- core/src/main/java/se/su/dsv/scipro/match/Idea.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/core/src/main/java/se/su/dsv/scipro/match/Idea.java b/core/src/main/java/se/su/dsv/scipro/match/Idea.java index e2772b539b..1ab583880a 100755 --- a/core/src/main/java/se/su/dsv/scipro/match/Idea.java +++ b/core/src/main/java/se/su/dsv/scipro/match/Idea.java @@ -105,11 +105,11 @@ public class Idea extends DomainObject { @Embedded @AttributeOverrides({ - @AttributeOverride(name = "literature", column = @Column(name = "literature", insertable = false, updatable = false)), - @AttributeOverride(name = "background", column = @Column(name = "background", insertable = false, updatable = false)), - @AttributeOverride(name = "problem", column = @Column(name = "problem", insertable = false, updatable = false)), - @AttributeOverride(name = "method", column = @Column(name = "method", insertable = false, updatable = false)), - @AttributeOverride(name = "interests", column = @Column(name = "interests", insertable = false, updatable = false)) + @AttributeOverride(name = "literature", column = @Column(name = "literature")), + @AttributeOverride(name = "background", column = @Column(name = "background")), + @AttributeOverride(name = "problem", column = @Column(name = "problem")), + @AttributeOverride(name = "method", column = @Column(name = "method")), + @AttributeOverride(name = "interests", column = @Column(name = "interests")) }) private TholanderBox tholanderBox = new TholanderBox(); -- 2.39.5