Repository navigation
2.0.2
v2.0.2
🐛 Fixes
Students: creating a new student failed with a generic 500 Internal Server Error from every entry point (the "Add Student" form on Dashboard/Calendar/Lessons, and the Java API directly). Root cause: User.createdCalendarNotes and User.calendarNotes carried an unpaired Jackson @JsonManagedReference — CalendarNote never had the matching @JsonBackReference (it already prevents circular serialization its own way, via @JsonIgnoreProperties), so Jackson refused to build a deserializer for the User type. This only started failing once Student gained a user field for the GUEST-account link (2.0.0), since POST /api/students now has to resolve a User deserializer as part of Student's. Fixed by removing the two orphaned annotations - no behavioral change on serialization, GET /api/students and friends were never affected.