Skip to content

fix : null values in arrays were wrongly persisted as empty strings#344

Closed
loichenninger wants to merge 3 commits into
mainfrom
fixDataFormat
Closed

fix : null values in arrays were wrongly persisted as empty strings#344
loichenninger wants to merge 3 commits into
mainfrom
fixDataFormat

Conversation

@loichenninger

@loichenninger loichenninger commented Nov 27, 2025

Copy link
Copy Markdown
Contributor

Bug: When null values were present in arrays in the raw data, the API persisted them as arrays of empty strings in the document with a COLLECTED state. Sometimes, if the array was supposed to contain numeric values, the API also created an additional document in the FORMATTED state, which again contained empty strings.

This caused issues in client applications. They need to compare the initial state (COLLECTED) with the EDITED state (if it exists). But in our case, the initial state was altered: it looked as if we had received an empty string "", whereas in reality we had received a null value.

Solution: We no longer persist table values in the COLLECTED document when they are null. The client applications will interpret that as a null value in the collected data.

@alexisszmundy

Copy link
Copy Markdown
Contributor

Already done by @Hajarel-moukh in PR #371

@alexisszmundy alexisszmundy deleted the fixDataFormat branch January 15, 2026 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants