mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix deserialization of new local courses
This commit is contained in:
committed by
liana.bakradze
parent
5e3f9fc8ff
commit
6b360083b6
+3
-1
@@ -429,7 +429,9 @@ public class StudySerializationUtils {
|
||||
JsonArray placeholders = taskFileObject.getAsJsonArray(PLACEHOLDERS);
|
||||
for (JsonElement placeholder : placeholders) {
|
||||
convertToAbsoluteOffset(document, placeholder);
|
||||
convertToSubtaskInfo(placeholder.getAsJsonObject());
|
||||
if (placeholder.getAsJsonObject().getAsJsonObject(SUBTASK_INFOS) == null) {
|
||||
convertToSubtaskInfo(placeholder.getAsJsonObject());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user