View Issue Details

IDProjectCategoryView StatusLast Update
0006116SymmetricDS ProBugpublic2024-05-03 16:31
Reporterpmarzullo Assigned Topmarzullo  
Prioritynormal 
Status assignedResolutionopen 
Product Version3.15.1 
Target Version3.15.7 
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

There are no notes attached to this issue.

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