mirror of
https://github.com/finmars-platform/finmars-core.git
synced 2026-04-26 06:35:59 +03:00
[GH-ISSUE #174] Imported transaction inputs are not persisted to source (saved as null) #89
Labels
No labels
BackEnd
FrontEnd
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/finmars-core#89
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sergeiosipov on GitHub (Feb 10, 2026).
Original GitHub issue: https://github.com/finmars-platform/finmars-core/issues/174
Originally assigned to: @HenkKalkwater on GitHub.
Description
When importing transactions, all input fields provided during import must be persisted as is into the transaction
sourceobject.This behavior existed in previous versions of the platform but is currently broken.
At the moment, the transaction is created with
source = null, which leads to a loss of original import data.This is a regression.
Expected Behavior
sourcesourceobject must always be created if it was imported (manual booking is exception)Actual Behavior
sourceisnullWhy This Is Important
Persisting raw import inputs is required for:
Loss of
sourcedata causes irreversible information loss.Evidence
In previous platform versions,

sourcewas populated correctly (see screenshot below)In the current version,
sourceis not created and remainsnull@sergeiosipov commented on GitHub (Feb 10, 2026):
@falendary maybe the problem in name collisions with Source from Provenance
@sergeiosipov commented on GitHub (Feb 24, 2026):
Now this data is in the
source_datafield in the complex transaction json object.But there is seems to be extra json.dumps which prevent this field from showing in the tab source.
Rename tab to source data for consistency.