Temporarily commented out saving fints4k objects as Jackson doesn't serialize derived classes; losing therefore many information, leading to incorrect results

This commit is contained in:
dankito 2020-10-23 02:03:38 +02:00
parent b49d3d0ea7
commit 21404242ba
1 changed files with 4 additions and 3 deletions

View File

@ -211,9 +211,10 @@ open class fints4kBankingClient(
protected open fun saveData() {
try {
val clientDataFile = getFints4kClientDataFile(fintsBank.bankCode, fintsBank.customerId)
serializer.serializeObject(fintsBank, clientDataFile)
// TODO: fix that real (child) class get serialized and re-enable again
// val clientDataFile = getFints4kClientDataFile(fintsBank.bankCode, fintsBank.customerId)
//
// serializer.serializeObject(fintsBank, clientDataFile)
} catch (e: Exception) {
log.error(e) { "Could not save bank data for $fintsBank" }
}