Skip to content

Fix export for transaction rules with condition 'amount_equals'

Nicolas Frandeboeuf requested to merge fixExport into main

See error in https://community.kresus.org/t/mise-a-jour-solde-lbp/374/7:

Error
    at panic (/opt/kresus/node_modules/kresus/build/server/helpers.js:31:46)
    at assert (/opt/kresus/node_modules/kresus/build/server/helpers.js:38:9)
    at cleanData (/opt/kresus/node_modules/kresus/build/server/controllers/helpers.js:112:42)
    at getAllData (/opt/kresus/node_modules/kresus/build/server/controllers/all.js:93:39)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async export_ (/opt/kresus/node_modules/kresus/build/server/controllers/all.js:158:22)
[2023-04-10T22:55:19.893] [ERROR] helpers - when exporting data: Assertion error: unhandled transaction rule condition in exports cleanup

Merge request reports

Loading