View Issue Details

IDProjectCategoryView StatusLast Update
0006116SymmetricDS ProBugpublic2025-06-11 14:00
Reporterpmarzullo Assigned Toelong  
Prioritylow 
Status resolvedResolutionfixed 
Product Version3.15.1 
Target Version3.16.4Fixed in Version3.16.4 
Summary0006116: Creating node using import configuration does not keep the non-default values for the default channels
DescriptionWhen creating a node, and importing configuration, if the imported configuration uses non-default values for the default channels, those non-default values are lost. The default values for the default channels remain.

The issue is when creating an engine, and creating a ConfigurationService object for the engine, the constructor creates default channels with default values and overwrites the values of the imported channels.

The ConfigurationService.initDefaultChannels() method should check to see if a channel exists in the database with the default channel ID name before saving the default channel. It should also read the one from the database and save it in the defaultChannels data structure.
Steps To Reproduce1. Create a CSV configuration with default channels specified, but change some of the default values for the default channels.
2. Create a node and specify that you want to import configuration.
3. Import the configuration.
4. Finish creating the setup.
5. Look at the channels definitions.
6. The non-default values for the default channels will be set to default values instead.
Tagsconfiguration

Activities

elong

2025-06-02 20:19

developer   ~0003003

Reproduced. The node's identity hasn't been created yet when the ConfigurationService is initialized, and there is a condition that the node identity must exist for it to read the existing channels.

Related Changesets

SymmetricDS: 3.16 f4ea2602

2025-06-11 13:16:43

elong


Committer: GitHub Details Diff
0006116: Create node import config, channels overwritten (#288)

0006116: Create node import config, channels overwritten
Affected Issues
0006116
mod - symmetric-core/src/main/java/org/jumpmind/symmetric/AbstractSymmetricEngine.java Diff File

Issue History

Date Modified Username Field Change
2023-11-20 19:41 pmarzullo New Issue
2023-11-20 19:41 pmarzullo Status new => assigned
2023-11-20 19:41 pmarzullo Assigned To => pmarzullo
2023-11-20 19:41 pmarzullo Tag Attached: configuration
2023-12-15 20:20 admin Target Version 3.15.2 => 3.15.3
2024-02-05 14:29 admin Target Version 3.15.3 => 3.15.4
2024-03-18 14:50 pmarzullo Target Version 3.15.4 => 3.15.5
2024-04-22 12:46 elong Target Version 3.15.5 => 3.15.6
2024-05-03 16:31 elong Target Version 3.15.6 => 3.15.7
2024-06-07 15:21 admin Target Version 3.15.7 => 3.15.8
2024-08-15 18:29 elong Target Version 3.15.8 => 3.15.9
2024-10-01 18:39 admin Target Version 3.15.9 => 3.15.10
2024-11-05 20:42 pbelov Target Version 3.15.10 => 3.15.11
2024-12-03 19:05 pbelov Target Version 3.15.11 => 3.16.0
2025-03-17 17:10 pbelov Target Version 3.16.0 => 3.16.1
2025-03-31 13:27 pbelov Target Version 3.16.1 => 3.16.2
2025-05-05 12:52 pbelov Target Version 3.16.2 => 3.16.3
2025-06-02 15:09 pbelov Target Version 3.16.3 =>
2025-06-02 18:06 pbelov Priority normal => low
2025-06-02 20:19 elong Assigned To pmarzullo => elong
2025-06-02 20:19 elong Note Added: 0003003
2025-06-02 20:33 elong Status assigned => resolved
2025-06-02 20:33 elong Resolution open => fixed
2025-06-02 20:33 elong Fixed in Version => 3.16.4
2025-06-02 20:33 elong Target Version => 3.16.4
2025-06-11 14:00 elong Changeset attached => SymmetricDS 3.16 f4ea2602