fix serialization problem
authorLiana.Bakradze <liana.bakradze@jetbrains.com>
Mon, 3 Oct 2016 09:14:07 +0000 (12:14 +0300)
committerliana.bakradze <liana.bakradze@jetbrains.com>
Thu, 17 Nov 2016 14:08:25 +0000 (17:08 +0300)
python/educational-core/student/src/com/jetbrains/edu/learning/courseFormat/AnswerPlaceholder.java

index e9990b2c3249e00339b2154b29d713daff32f10c..ff6ea8f7b7580838a80d28a40707ab86d7da2f2c 100644 (file)
@@ -116,11 +116,13 @@ public class AnswerPlaceholder {
     length = myInitialState.getLength();
   }
 
+  @Transient
   public StudyStatus getStatus() {
     AnswerPlaceholderSubtaskInfo info = getActiveSubtaskInfo();
     return info != null ? info.getStatus() : StudyStatus.Unchecked;
   }
 
+  @Transient
   public void setStatus(StudyStatus status) {
     getActiveSubtaskInfo().setStatus(status);
   }