View Issue Details

IDProjectCategoryView StatusLast Update
0006668SymmetricDS ProBugpublic2024-12-06 22:00
Reporterpmarzullo Assigned Topmarzullo  
Prioritynormal 
Status resolvedResolutionfixed 
Product Version3.14.0 
Target Version3.14.18Fixed in Version3.14.18 
Summary0006668: When resolving data by editing the values on the incoming side, null values are lost and replaced with empty strings
DescriptionWhen a failure occurs or data is in conflict that requires manual intervention on the incoming load side, the user can edit the values that are in the batch to resolve the error or the conflict.

When a field has a null value from the batch and is displayed with an empty field on the screen, when the modified values are applied (saved to sym_incoming_error in resolve_data column), the null values are lost and replaced with empty strings instead.

We need to preserve the null values.

When editing the values to resolve the issue, any fields that were originally null will now have a $(null) value in its place to differentiate it from an empty string value. If you want to put a null value in a field, the string $(null) should be put in the field.

An empty string value shows up as a "" in the CSV data of the resolve_data column in sym_incoming_error. A null value shows up as nothing between the commas in the CSV data.
Steps To Reproduce1. Create a source table with a string column that is longer than the corresponding string column on the target.
2. In the same source table, provide a column that is nullable.
3. Set up synchronization.
4. Insert a record in the source, specifying a value in the string column that is longer than the target can handle, and a null value for the column that can be null.
5. When the incoming batch goes into error, resolve the error by editing the long string value that will fit in the target column, and don't touch the field that has the null value in it.
6. The record will be saved with an empty string instead of a null value.
Tagsdata sync, ui

Relationships

related to 0006669 resolvedpmarzullo When resolving data by editing the values on the incoming side, null values are lost and replaced with empty strings 
related to 0006670 assignedpmarzullo When resolving data by editing the values on the incoming side, null values are lost and replaced with empty strings 

Activities

pmarzullo

2024-12-06 20:56

developer   ~0002553

When editing the fields on the Resolve Data tab, $(null) is the indicator for a null value. Empty field will still be empty string.

Related Changesets

SymmetricDS: 3.14 ce684cb8

2024-12-06 20:55:10

pmarzullo

Details Diff
0006668: When resolving data by editing the values on the incoming side,
null values are lost and replaced with empty strings
Affected Issues
0006668
mod - symmetric-assemble/src/asciidoc/manage/incoming-batches.ad Diff File
mod - symmetric-core/src/main/java/org/jumpmind/symmetric/common/Constants.java Diff File

SymmetricDS: 3.15 b2ba3bd8

2024-12-06 20:55:10

pmarzullo

Details Diff
0006668: When resolving data by editing the values on the incoming side,
null values are lost and replaced with empty strings
Affected Issues
0006668
mod - symmetric-assemble/src/asciidoc/manage/incoming-batches.ad Diff File
mod - symmetric-core/src/main/java/org/jumpmind/symmetric/common/Constants.java Diff File

SymmetricDS: 3.16 75dc655f

2024-12-06 20:55:10

pmarzullo

Details Diff
0006668: When resolving data by editing the values on the incoming side,
null values are lost and replaced with empty strings
Affected Issues
0006668
mod - symmetric-assemble/src/asciidoc/manage/incoming-batches.ad Diff File
mod - symmetric-core/src/main/java/org/jumpmind/symmetric/common/Constants.java Diff File

Issue History

Date Modified Username Field Change
2024-12-06 18:52 pmarzullo New Issue
2024-12-06 18:52 pmarzullo Status new => assigned
2024-12-06 18:52 pmarzullo Assigned To => pmarzullo
2024-12-06 18:54 pmarzullo Tag Attached: ui
2024-12-06 18:54 pmarzullo Tag Attached: data sync
2024-12-06 20:56 pmarzullo Status assigned => resolved
2024-12-06 20:56 pmarzullo Resolution open => fixed
2024-12-06 20:56 pmarzullo Fixed in Version => 3.14.18
2024-12-06 20:56 pmarzullo Note Added: 0002553
2024-12-06 20:59 pmarzullo Relationship added related to 0006669
2024-12-06 21:00 pmarzullo Changeset attached => SymmetricDS 3.14 ce684cb8
2024-12-06 21:05 pmarzullo Relationship added related to 0006670
2024-12-06 22:00 pmarzullo Changeset attached => SymmetricDS 3.15 b2ba3bd8
2024-12-06 22:00 pmarzullo Changeset attached => SymmetricDS 3.16 75dc655f