It looks like removing the teachingAssignmentRepository.deleteById() method broke the ability to delete teaching preferences (teachingAssignment w/ fromInstructor flag) in an instructor Teaching Call.
The default teachingAssignmentRepository.delete() method un-schedules the teachingAssignment deletion because of some cascade association.
It looks like removing the
teachingAssignmentRepository.deleteById()
method broke the ability to delete teaching preferences (teachingAssignment w/ fromInstructor flag) in an instructor Teaching Call.The default
teachingAssignmentRepository.delete()
method un-schedules theteachingAssignment
deletion because of some cascade association.Relevant: https://stackoverflow.com/questions/16898085/jpa-hibernate-remove-entity-sometimes-not-working